On Tue, 2011-06-21 at 19:20:52 -0400, Wietse Venema wrote: > Sahil Tandon: > > Appears to work in bash and zsh; not in (t)csh. I quickly tested on > > FreeBSD and Darwin. Likely related to handling of null byte/char. > > I'm away from home, so I can't quickly fire up a ksh box. It certainly > does not work with FreeBSD8 /bin/sh.
Yep, the echo(1) one-liner fails but the printf(1) that Noel suggested succeeds. -- Sahil Tandon <sa...@freebsd.org>