I want to use for for a set of files.
for file in fileA fileB fileC; do
COMMAND $file $variable
done
For every $file I want to use specific $variable.
(for example: fileA variableA; fileB variableB)
How can do such association?
|
|||||||||
|
|
Since you are on v4 of
Note that order of processing may be different from the order within the array definition |
||||
|
|
bash? – 1_CR Jun 21 '13 at 23:25if [$ID="fileA"]results incommand not foundhere... – Hauke Laging Jun 21 '13 at 23:38