Pete's Linux Advent Calendar 2007
The 20th day
Extract one line of a file
There is more than one way to do it. Say you want to extract line number 7:
awk 'NR==7'
sed -n 7p
head -n 7 | tail -n 1
Can you think of more?
Pete's Linux Advent Calendar 2007
Comments? send mail to
pkruse@arcor.de