linux - Remove everything before a blank line using sed -
lets have file this:
"testing important" nothing impossible the output should be:
nothing impossible this means sed removed before new line. also, need make sure works on bash on windows.
please help.
you can try
sed '1,/^\s*$/d' file \s whitespace, it's same
sed '1,/^[[:blank:]]*$/d' file
Comments
Post a Comment