Search Results

Search: Posts Made By: zazzybob
29,019
Posted By zazzybob
UUOC...
UUOC (http://jamesthornton.com/jargon/html/entry/UUOC.html)

Use

while read LINE
do
.
.
.
done < input_file

instead....

Cheers
ZB
29,019
Posted By zazzybob
So each file has a consistent number of lines,...
So each file has a consistent number of lines, right?

The following (g)awk program will do the trick. Just set the modulus to whatever you need (i.e. if the filenames appear every 5 lines change...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy