Sod any 'non-empty line'
/usr/bin/grep '^' > output
Or even better, grep can be an editor with line filtering - if you make an mistake, have it throw away the line: /usr/bin/grep -v '%' > output
(Any line with a %, throw away, keep the rest - good for multi-line files)