> Hopefully a simple answer, that I will kick myself after finding the
> answer.
> 
> What command(s) can I use to return a specific line within a data file.
> i.e: I need to return Line 2 of a file to a shell variable for further
> processing.
> 
> Any help....
> 
> PW


you're gonna start another war ;) 

head -2 filename | tail -1

cheers,
Marty
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to