![]() |
|
|
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 |
| SED help (remove line::parse again::add line) | Malumake | Shell Programming and Scripting | 6 | 10-24-2007 06:02 PM |
| Start Input not on next line? | nortypig | Shell Programming and Scripting | 4 | 08-31-2006 06:20 AM |
| Remove header(first line) and trailer(last line) in ANY given file | madhunk | Shell Programming and Scripting | 2 | 03-13-2006 03:36 PM |
| how to remove line greater then 3000 characters. | naren_14 | UNIX for Advanced & Expert Users | 10 | 06-16-2005 12:00 AM |
| awk and getting # of characters in a line | smacleod | UNIX for Dummies Questions & Answers | 1 | 04-15-2002 02:57 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Last 10? or start from? Proper grammar would help here. Remove last ten characters on all lines from the third through the end: Code:
sed '3,$s/..........$//' Coping with lines with fewer than ten characters left as a desperate follow-up question with incomplete sentences and weird terminology. You're welcome. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|