![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Truncating the last character | ithirak17 | UNIX for Dummies Questions & Answers | 1 | 03-07-2008 11:18 AM |
| Truncating a variable | whdr02 | Shell Programming and Scripting | 3 | 02-12-2008 10:28 AM |
| to print number one less than actual number | cdfd123 | Shell Programming and Scripting | 4 | 09-06-2007 07:56 AM |
| truncating leading zeros of a column in a file | nvuradi | Shell Programming and Scripting | 7 | 08-30-2007 07:04 AM |
| `ps` command truncating text | keelba | UNIX for Dummies Questions & Answers | 9 | 09-28-2002 01:28 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Truncating a number using sed/awk
Hi all,
I'm trying to truncate a number like the following: 0001060407013900501048239559900600504083525826350002050354795057 I would like to create an output which puts carriage returns every so many characters, giving an output such as: 0001 060407 0139 0 05 010482395599 0060 050408 35258 26 350002050354795057 Is this possible using sed or awk or something? Many thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|