[BRLTTY] Appending NUL to cat

Dave Mielke dave at mielke.cc
Mon Sep 28 10:14:29 EDT 2009


[quoted lines by james collins on 2009/09/28 at 09:48 -0400]

>$ echo $'\00' | cat

echo -n -e '\000'

-n means don't append a newline.
-e means recognize special escape sequences.

See the man page for your shell (probably bash).

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | 2011 May 21 is the Day of Judgement.
EMail: dave at mielke.cc | Canada  K2A 1H7   | 2011 Oct 21 is the End of the World.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/


More information about the BRLTTY mailing list