forU
1
Hi,
Using the following command, I can only get rid of the last extension from my input file name:
parallel command '>' {.}.output ::: my.input.file
The output file is "
my.input.output
"
How can I get rid of the last two extensions of my input file name, so that end up with "my.output"?
Thanks!
Can my.input.file be renamed to my.input ?
forU
3
this is just an example. I have hundreds of input files.
You can put BASH expressions into parallel, so:
parallel 'VAR={.} ; VAR=${VAR/.*/} ; echo $VAR'
Test thoroughly before you write files, etc.
sea
5
remove the .file from the my.input.file?
EDIT:
Doh, took too long to read the other thread.