![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Single line file editing command? | gator76 | Shell Programming and Scripting | 1 | 04-03-2008 07:09 AM |
| Editing last line of a file | Anitha Chandran | Shell Programming and Scripting | 1 | 02-28-2008 09:18 AM |
| Editing multiple file names in one go | KeesH | UNIX for Dummies Questions & Answers | 3 | 10-06-2007 01:20 AM |
| problem editing big file in vi | videsh77 | UNIX for Dummies Questions & Answers | 4 | 12-29-2004 01:28 PM |
| editing bash command line with vi | peter.herlihy | UNIX for Dummies Questions & Answers | 3 | 09-03-2002 06:36 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
For lists in sed, to say what to replace, is this correct: [$ .]
I am hoping that this would recognise that either a "." is present, or that the substitution happens at the end of the line. For files with extensions [picture.jpg], my script works perfectly. My problem is, files without extentions, i.e. [picture]. The script gives the following message for these cases: "picture and picture are identical". |
| Forum Sponsor | ||
|
|