Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Oct 2001 14:30:17 +1000
From:      BSD Freak <bsd-freak@mbox.com.au>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Outputing a specific line number to standard output
Message-ID:  <fbcde2fc20bb.fc20bbfbcde2@mbox.com.au>

next in thread | raw e-mail | index | archive | help
Hi all,

I feel stupid asking this but I have looked in the man page for grep,
sort , cat, head and cut and have not been able to find the answer. 

How do I output to standard output a particular line number in a text file? 

For example say I want to display line 54 in the file myfile.txt . How
do I do this?


Thanks in advance.....

---------------------------------------------------------------------
mBox is unified messaging and now has the mBeeper!
Be the first to trial it.
http://www.mbox.com.au/mbeeper

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fbcde2fc20bb.fc20bbfbcde2>