![]() |
|
|
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 |
| compare fields in a file with duplicate records | rleal | Shell Programming and Scripting | 1 | 01-29-2009 02:55 AM |
| AWK ??-print for fields within records in a file | hyennah | UNIX for Dummies Questions & Answers | 8 | 11-17-2008 05:03 PM |
| Extracting records with unique fields from a fixed width txt file | sitney | Shell Programming and Scripting | 8 | 02-10-2008 03:18 AM |
| Awk Compare Files w/Multiline Records | RacerX | Shell Programming and Scripting | 4 | 12-21-2007 06:05 AM |
| cut specific records from a file | jxh461 | Shell Programming and Scripting | 2 | 02-23-2007 02:22 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Cut specific fields from a file containing multiline records
Hi,
I am looking for a method to get column13 to column 50 data from the 1st line of a multiline reord. The records are stored in a large file and are separated by newline. sample format is (data in red is to be extracted) <header> A001dfhskhfkdsh hajfhksdhfjh shdfhsdfhkjldsfhslkjlshdfsdlfhsd;lh A002skdjfkjsdkfj kjafjdsljfpok;fjdskf;kldsjfposifpsjdf A003jlskjfslkfjsljf ;dfs;ksjg A004sdfhskjlfhlshf jhsfhskjldhfjs A001dfhskhfkdsh hajfhksdhfjh shdfhsdfhkjldsfhslkjlshdfsdlfhsd;lh A002skdjfkjsdkfj kjafjdsljfpok;fjdskf;kldsjfposifpsjdf A003jlskjfslkfjsljf ;dfs;ksjg A004sdfhskjlfhlshf jhsfhskjldhfjs ..... <trailer> |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|