Skip to main content
Tweeted twitter.com/#!/StackUnix/status/103400666801782784
tags and other improvements
Link
Stéphane Gimenez
  • 29.5k
  • 3
  • 79
  • 88

How to obtain inverse tail/head a documentbehavior for `tail` and `head`?

Is there a way to headhead/tailtail a document and get the reverse output; because you don't know how many lines there are in a document?

iI.e. iI just want to get everything but the first 2 lines of foo.txtfoo.txt to append to another document.

inverse tail/head a document?

Is there a way to head/tail a document and get the reverse output; because you don't know how many lines there are in a document?

i.e. i just want to get everything but the first 2 lines of foo.txt to append to another document.

How to obtain inverse behavior for `tail` and `head`?

Is there a way to head/tail a document and get the reverse output; because you don't know how many lines there are in a document?

I.e. I just want to get everything but the first 2 lines of foo.txt to append to another document.

Source Link
chrisl-921fb74d
  • 8.8k
  • 16
  • 52
  • 54

inverse tail/head a document?

Is there a way to head/tail a document and get the reverse output; because you don't know how many lines there are in a document?

i.e. i just want to get everything but the first 2 lines of foo.txt to append to another document.