![]() |
|
|
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 |
| reading lines in pairs from file in ksh | ytokar | Shell Programming and Scripting | 4 | 02-08-2008 02:50 PM |
| skip reading certain lines in a file | paulsew | UNIX for Dummies Questions & Answers | 5 | 03-26-2007 04:07 AM |
| Reading multiple lines as single | braindrain | Shell Programming and Scripting | 9 | 10-18-2006 11:16 AM |
| Reading lines within vi editor | asriva26 | Shell Programming and Scripting | 2 | 08-30-2006 10:47 AM |
| Reading lines within a Unix file. | mariner | UNIX for Advanced & Expert Users | 5 | 11-18-2003 01:26 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
reading lines
Hi all, I have a file whose content I need to read and get the 3rd line .. ex: Code:
one two three What I need is to read a content of third line of this file and print first three characters ... I could print first three characters with "head -c 3" if I could get the content of the third line ... that is what I struggle with.. please help thank you in advance |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|