![]() |
|
|
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 |
| using tr to put multiple lines of output into one line | otes4 | Shell Programming and Scripting | 3 | 02-18-2008 11:30 AM |
| Display multiple output lines | kingofprussia | UNIX for Dummies Questions & Answers | 5 | 05-23-2007 09:56 AM |
| GREP:Output all lines containing word | ljubayuu | Shell Programming and Scripting | 3 | 04-06-2006 11:21 PM |
| Need output in different lines not in one single line | csaha | Shell Programming and Scripting | 1 | 02-08-2006 08:28 AM |
| counting lines and showing the output | jjoves | UNIX for Dummies Questions & Answers | 13 | 08-03-2004 10:45 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Output every certain lines.
I have a text file with 100 records.
for example input file looks like: 1 firstname lastname address data 2 "' 3 "' 4 "" 5 "" 6 "" 7 "" 8 "' 9 "" 10 "" What i want for output. I want to get every 3rd line of above text file to be printed along with below info. Records # being displayed First Name Lastname (seperate field) Data (seperate field) Prefered output will look like. Record ==> 1 Firstname lastname data Records ==> 4 Firstname lastname data. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|