|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | 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. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
sed example?
All,
Given the followng example, I have about 5000 files in which on the ACSENDDIR line below, I need to put in 2 backslashes for every occurance of a backslash that starts with ACSENDDIR or ACRECVDIR AND contains a backslash already. I am pretty sure I can do this with sed but have been unable to find anything on the net or man pages with regards to special charactors. line.... line.... ACSENDDIR="\Inbound\3RDPARTY" another line.... another line.... I need to convert it to this.. line.. line.. ACSENDDIR="\\Inbound\\3RDPARTY" another line.. another line.. thanks in advance! |
| Sponsored Links |
|
|
|
|||
|
sed example
|
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|