[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Power Patch to print strings containing NUL
- From: Reuben Thomas <rrt@...>
- Date: Sun, 8 Oct 2006 12:27:38 -0300 (BRT)
I've added a patch to make print print strings containing NULs, after an
extremely annoying debugging experience where I thought I was having
shell quoting problems, but the problem was actually the string returned
by find -print0.
Arguably this is a bug fix, as print's specification doesn't say it
won't cope with strings containing NULs.
See http://lua-users.org/wiki/LuaPowerPatches
Patch is at
http://lua-users.org/files/wiki_insecure/power_patches/5.1/print-nuls.patch
[Lua authors: why fprints("\t", stdout) rather than putc('\t', stdout)?]
--
http://rrt.sc3d.org/ | language, n. a dialect with an army (Max Weinreich)