http://qs321.pair.com?node_id=208761


in reply to Delete the first line of a file ?

Just for completeness, here's how one can do it with a regex:
perl -p0777we 's/ .+? ( ^ .* ^ ) .* /$1/xms'


  p