Read a selected liine from a text file

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Daniel Montagnese
Date:  
To: plug-discuss
Subject: Read a selected liine from a text file
One way to see a selected line in a text file is:
sed -ne '3{p;q;}' file_name

3 is the line number.

Dan Montagnese


    
        
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss