Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Parallel replacement string

$
0
0
Hi,

Using the following command, I can only get rid of the last extension from my input file name:

Code:

parallel command '>' {.}.output ::: my.input.file
The output file is "
Code:

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!

Viewing all articles
Browse latest Browse all 16232

Trending Articles