I need to run same command separately for each file at the same time.
I've tried
for file in *.txt; do ./script <"$file"; done
but It starts the first one and waits until it get finished then goes to the next one.
I need to start them all together.