![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ps | grep command not returning existing process | jlitzie | UNIX for Advanced & Expert Users | 6 | 07-20-2007 05:58 AM |
| How do I prevent cron from returning errors on a file not found? | goodmis | Shell Programming and Scripting | 6 | 02-06-2007 06:14 AM |
| find command not returning any result | rraajjiibb | UNIX for Advanced & Expert Users | 4 | 07-23-2004 02:05 PM |
| Blank Lines - End of file | saabir | Shell Programming and Scripting | 4 | 07-15-2003 08:55 AM |
| cant find command that returns blank line | jeffersno1 | UNIX for Dummies Questions & Answers | 2 | 11-15-2001 12:14 PM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
SED Command Returning a Blank File
I have a file called get_columns.sh that I would like to replace $2 with $3. I have the following sed command written that works
sed s/'$3'/'$2'/g get_columns.sh > output.txt However, when I try the command below, the file is empty. sed s/'$3'/'$2'/g get_columns.sh > get_columns.sh Thanks for your assistance. Dave |
| Forum Sponsor | ||
|
|