[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to build the parallel nature into the script?
From: |
paralleluser |
Subject: |
how to build the parallel nature into the script? |
Date: |
Wed, 13 Dec 2017 01:06:28 -0500 |
Dear Friends,
Given a shell script, script.bash, it takes one argument, $1, which is a file
name to process, like this:
script.bash myfile.txt
To parallelize this I can do:
parallel script.bash ::: *.txt
But what is the easiest way to build the parallel nature into the script so I
can do:
script.bash *.txt
and parallel does its magic behind the scenes?
Thanks!...
- how to build the parallel nature into the script?,
paralleluser <=