![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum 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 |
| delete \n character | ReneVielma | Shell Programming and Scripting | 2 | 05-29-2008 03:46 PM |
| Need to serach if a new line character exists on the last line in a file | sunilbm78 | UNIX for Dummies Questions & Answers | 10 | 02-29-2008 10:15 AM |
| delete a line based on first character of the line | borncrazy | UNIX for Dummies Questions & Answers | 2 | 12-06-2005 11:27 AM |
| Use sed to delete a character | bthomas | Shell Programming and Scripting | 1 | 05-19-2005 12:21 PM |
| How to delete a character | davidg | UNIX for Advanced & Expert Users | 3 | 02-18-2004 11:16 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,
I think I'm close to doing this, but I could be wrong. I have a string I would like to search for and delete the last character of the that line. This is what I have... sed 's/POHEAD\(.\)$//g' tempd > tempe The above works if I search for P, but that won't work. I need to search for POHEAD. thnx, |
| Forum Sponsor | ||
|
|