You're viewing a comment by Paolo Bonzini and its responses.

Paolo Bonzini Permalink
October 08, 2008, 11:05

Regarding the comment that the shortest one-liner which does a null-filter is

sed ''

actually if you count the number of characters to type, the shortest is

sed b

Also, regarding oneliner 37, it could be a little easier to understand if the //D command is changed to /^[^\n]/D. Alternatively you can use

/\n/!G;s/\(.\)\(.*\n\)/&\2\1/;s/^\n//p;D

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "0day_95": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.