Sample Header Ad - 728x90

Force lynx or elinks to interpret spaces and line breaks

4 votes
2 answers
1497 views
Consider the following commands, and their results : $ echo "

a
b
c


"|lynx -dump -stdin a b c $ echo "

a
b
c


"|elinks -dump a b c Neither prints the correct number of lines : elinks skips the first white space, and both skip blank lines and trailing lines with white space only. Is there a way to force lynx or elinks to interpret all spaces and line breaks ? I didn't see anything obvious in their manpage. (I mean, beside using a temporary character to be suppressed by sed or tr or whatever after the display.)
Asked by Skippy le Grand Gourou (3453 rep)
Nov 29, 2014, 10:57 AM
Last activity: Nov 28, 2021, 03:55 AM