![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trying to remove '^M' characters from a file. | Krispy | Shell Programming and Scripting | 13 | 05-12-2009 06:46 PM |
| Truncate last <n> characters from a file | Gwailo88 | UNIX for Dummies Questions & Answers | 1 | 03-05-2008 12:52 AM |
| funny characters at the end of file | achieve | Shell Programming and Scripting | 3 | 09-14-2006 05:39 AM |
| Reading Characters from txt file | TexasGuy | Shell Programming and Scripting | 7 | 03-05-2005 07:14 PM |
| grepping the first 3 characters from a file | rachael | UNIX for Dummies Questions & Answers | 2 | 10-15-2001 03:33 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Swop postions of characters in a file name
Im hoping someone here can help me with the following please?!
I need to change the position of 3 characters in a set of file names. I have the follow file name structure c2pMOW051102_winds.nc. I need to change the position of the characters c2p to MOW051102c2p_winds.nc. Can this be done using the 'sed' command? Or does any one know any other way of doing this? Thanks for any help! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|