As a follow-up to my previous question, if I have multiple files of the form
sw.ras.001
sw.ras.002
sw.ras.003
…
What command can I use to remove the ras. in the middle of all the files?
|
As a follow-up to my previous question, if I have multiple files of the form
What command can I use to remove the |
||||
|
You can do this with a fairly small modification of either answer from the last question:
or
Explanation:
The |
||||
|
In any POSIX-compliant shell (
Or with
|
|||
|
|
ras, i.e. end up withsw..001, or theras., leavingsw.001? – Kevin Mar 2 '12 at 20:11\.in the patterns. – Kevin Mar 2 '12 at 20:19