I want to make a script that puts filenames from the working directory (with a specific extension) in text file with some additional strings:
For example, if I'm interested in files with extension i
and files in my directory are:
1.b 1.i 2.i 2.z 3.i
I want to make a text file like:
command_1
command_2 1.i 1.o && command_2 2.i 2.o && command_2 3.i 3.o &
command_2
? – heemayl Apr 21 '15 at 19:02