![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Need Help Urgent | SanjayLinux | Shell Programming and Scripting | 4 | 10-29-2007 02:41 AM |
| Help me for AWK URGENT | readycpbala | Shell Programming and Scripting | 2 | 02-22-2007 01:03 PM |
| URGENT,URGENT- Need help tape drive installation | sriny | UNIX for Advanced & Expert Users | 3 | 11-16-2006 03:43 PM |
| URGENT---URGENT--No OK PROMPt after RSC CONFIG | sriny | SUN Solaris | 7 | 10-29-2006 11:06 AM |
| Urgent !! | desiondarun | UNIX for Dummies Questions & Answers | 1 | 08-08-2006 09:49 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Urgent Help With Sed
Hello,
I need to use sed to replace a word in file. My command is this: sed "s/word_to_replace/'"${INPUT}"'/1 filename and because INPUT="~@#$%^&*()-_=+{}[]\|;:<>,./?" and / is also the delimiter so I'm keep on getting error message sed: command garbled: ... any suggestions about how I might solve it? THANK YOU VERY MUCH |
|
||||
|
Quote:
Other ideas? thank you |
|
||||
|
Quote:
|
|
||||
|
Quote:
syntax error near unexpected token '-_=+{}[]\|' I couldn't find what I did wrong. String is "~@#$%^&*()-_=+{}[]\|;:<>,./?" |
|
||||
|
Which platform are you running this on? I tried it on AIX and it runs w/o a hiccup...does not lose the backslash character.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|