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

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -