![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
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 |
| Reading lines in a file matching a pattern | torenji | Shell Programming and Scripting | 4 | 10-25-2007 05:15 AM |
| skip reading certain lines in a file | paulsew | UNIX for Dummies Questions & Answers | 5 | 03-26-2007 04:07 AM |
| file reading in unix | pradeepthanraj | Shell Programming and Scripting | 2 | 11-15-2005 09:35 AM |
| Reading Particular Line From A File in Unix | yeheyaansari | UNIX for Advanced & Expert Users | 2 | 02-12-2002 08:42 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Reading lines within a Unix file.
I have a file that has a list of numbers in it. Each line has a different number. I am trying to create some sort of loop within a script that will pick the numbers up on lines 1 and 2 and then put those figures into the script. It then goes through the process then loops back and reads lines 2 and 3. This is to keep looping till it reaches the end of the file. The problem i am having is that i do not know what command to use to pick up the relevant lines.
Can anyone help please. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|