How do I delete the first line in a file?
Posted
by Soop
on Stack Overflow
See other posts from Stack Overflow
or by Soop
Published on 2010-04-16T10:58:50Z
Indexed on
2010/04/16
11:03 UTC
Read the original article
Hit count: 152
I can't search for a particular string, since they're all very similar, but I'd like something simple to chop out the first 4 lines in a file.
They're all variable length too. I've had a a think about perl, and it all seems harder than I thought, but I'd like to do it in Perl, AWK or a shell command if possible.
Does anybody have a simple way of doing this?
© Stack Overflow or respective owner