![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| set Working day in ksh | Rafael.Buria | Shell Programming and Scripting | 1 | 10-09-2007 01:42 AM |
| Not working | Mandab | Shell Programming and Scripting | 7 | 05-11-2007 06:23 PM |
| FTP is not working. | ronald_brayan | Security | 10 | 04-04-2007 05:23 AM |
| ^P Not working on AIX. | akbar | AIX | 0 | 02-24-2007 03:52 PM |
| why is this not working? | matt2kjones | UNIX for Dummies Questions & Answers | 2 | 07-09-2002 12:58 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
sed not working
Hi,
Iam doing the following using sed in a script , it is NOT working line_old= 3754|Yes|Yes line_new= 3754|Yes|Yes|Yes|Yes sed -e 's/$line_old/$line_new/' data.$$ > tmp.$$ mv tmp.$$ data.$$ Regards |
| Forum Sponsor | ||
|
|
|
||||
|
Quote:
Code:
Enclosing characters in double quotes preserves the literal value of
all characters within the quotes, with the exception of $, `, and \.
The characters $ and ` retain their special meaning within double
quotes. The backslash retains its special meaning only when followed
by one of the following characters: $, `, ", \, or <newline>. A double
quote may be quoted within double quotes by preceding it with a back-
slash.
|