HI I have a list of files that are incorrectely names and I need to move them to new name .. I tried few things that has not worked so far can you help ?
I need to rename all thes eifle ( tere are over 100 )
Thanks msabhi...prior to this example I was assuming that it is not possible to use shell commands inside sed.
Could you please tell about some shell commands that could be used inside sed ?
Yes as corona pointed out, am not using any shell command inside sed there...i am just executing whats thrown out by sed...
My knowledge is limited on usage of shell commands inside sed..but from what i remember from my experience, we can use some commands like echo inside sed like below
sed "1i `echo FIRST`" tmp_file
But you can't use cat command inside sed or i have failed trying to use cat command inside sed..