On Friday 11 November 2005 15:12, Peper wrote:

> And one more thing, is there any smarter way to read one line of file
> then head -n x file|tail -n 1 ?

sed -n -e '12p' file.txt

prints the 12th line of "file.txt"
-- 
gentoo-user@gentoo.org mailing list

Reply via email to