[Nottingham] [Talk] ***TODAY*** Wed 19/10/2005 Voice over IP {ML}

Graeme Fowler graeme at graemef.net
Wed Oct 19 16:19:44 BST 2005


On Wed 19 Oct 2005 16:01:59 BST , Robert Hart <enxrah at nottingham.ac.uk> wrote:
> For bonus points, whilst we're on the subject, why to head and tail not
> work in exactly the same way? (i.e. you can do tail +10 but not head +10)

Umm...

head -n, tail -n work in the same way: display the first|last n lines 
of a file.

tail +n starts at line n of a file and displays the rest - for head 
there isn't an exact analogue of that, given that you start at line 1 
and finish at -n.

Graeme




More information about the Nottingham mailing list