![]() |
|
|
|
|
|||||||
| 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 |
| Using SED to get n chars after given value from file | Kally | UNIX for Dummies Questions & Answers | 12 | 12-19-2007 01:54 AM |
| How to convert C source from 8bit chars to 16bit chars? | siegfried | Shell Programming and Scripting | 0 | 09-26-2007 11:26 AM |
| Retreive string between two chars | danland | Shell Programming and Scripting | 25 | 06-25-2007 12:02 PM |
| replace chars, | Jairaj | Shell Programming and Scripting | 7 | 02-28-2007 02:34 AM |
| Awk- catching the last two chars | Gerry405 | UNIX for Dummies Questions & Answers | 9 | 11-22-2005 02:23 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
cut last 4 chars
hi
i wanted to cut last 4 chars from a text file Input A-B-C-V-15-0115 A-BL-CLE-T-VALUE-0125 M-T-L-G-0115 AT-PR-PE-CCT-0135 Output 0115 0125 0115 0135 I tried cut -f - -d "-" (thinking cut -f 5- -d"-" gives 5 ot end of line so only - should give last but floped) |
| Forum Sponsor | ||
|
|