Sebastian Busch wrote:
> The task is:
> 
> "Remove the first two lines that don't begin with "@" from a file."

awk 'BEGIN {c = 0} c < 2 && !/^@/ {c += 1; next} {print}' < mybeautifulfile

-- 
Roberto Bonvallet
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to