![]() |
|
|
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 |
| passing variables to sed function in a script .... | shweta_d | Shell Programming and Scripting | 2 | 06-05-2007 07:13 AM |
| passing two variables into a shell script? | Bashar | Shell Programming and Scripting | 2 | 05-15-2007 11:00 AM |
| passing variables to awk from ksh script | rein | Shell Programming and Scripting | 3 | 08-11-2005 12:29 PM |
| Passing filenames/variables into a script | MrToast | Shell Programming and Scripting | 5 | 03-02-2004 10:15 AM |
| Passing variables from one script to another | tcoventr | UNIX for Dummies Questions & Answers | 2 | 06-18-2002 11:57 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
passing variables to sed inside script
I am trying to pass a regular expression variable from a simple script to sed
to remove entries from a text file e.g. a='aaaa bbbb cccc ...|...:' then executing sed from the script sed s'/"'$a"'//g <$FILE > $FILE"_"1 my output file is always the same as the input file !! any hints / pointers are aprreciated |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|