![]() |
|
|
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 |
| To convert multi format file to a readable ascii format | gaur.deepti | UNIX for Dummies Questions & Answers | 5 | 03-25-2008 03:03 PM |
| Convert UTF8 Format file to ANSI format | rajreddy | UNIX for Dummies Questions & Answers | 9 | 05-25-2007 09:26 AM |
| Convert UTF8 Format file to ANSI format | rajreddy | UNIX for Advanced & Expert Users | 1 | 05-24-2007 07:40 AM |
| format file | happyv | Shell Programming and Scripting | 14 | 03-15-2007 04:30 PM |
| man format file | trynew | Shell Programming and Scripting | 3 | 10-07-2004 04:17 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi All,
I am new to the unix scripting part . can some one help to to format file with required fields. current file looks like .. aaa Fibre aaa aaa 01C1:01C9 1CB 01CD 01CF 1249 bbb Fibre bbb bbb 01D1 0722 072A 124A ccc Fibre ccc ccc 01D9 124B ddd Fibre ddd ddd 01E1 eee Fibre eee eee 01CA 0201 0209 0211 0219 0221 0229 0231 fff Fibre fff fff 0178:0185 0189 0191 107E 1246 The output file required is aaa Fibre aaa aaa 01C1:01C9 aaa Fibre aaa aaa 01CB aaa Fibre aaa aaa 01CD aaa Fibre aaa aaa 01CF aaa Fibre aaa aaa 1249 bbb Fibre bbb bbb 01D1 bbb Fibre bbb bbb 0722 bbb Fibre bbb bbb 072A bbb Fibre bbb bbb 124A ccc Fibre ccc ccc 01D9 ccc Fibre ccc ccc 124B ddd Fibre ddd ddd 01E1 eee Fibre eee eee 01CA eee Fibre eee eee 0201 eee Fibre eee eee 0209 eee Fibre eee eee 0211 eee Fibre eee eee 0219 eee Fibre eee eee 0221 eee Fibre eee eee 0229 eee Fibre eee eee 0231 fff Fibre fff fff 0178:0185 fff Fibre fff fff 0189 fff Fibre fff fff 0191 fff Fibre fff fff 107E fff Fibre fff fff 1246 Thanks in advance .. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|