On Sunday 13 July 2008 13:38:56 Russ Allbery wrote: > I realize that Policy already provides a little bit of generic advice > about writing shell scripts, so it's not like we have a particularly pure > distinction on which to stand, but unless we're going to require > particular practices via filing bugs I think putting best practices in the > devref may be better.
Discouraging printing strings containing backslashes with echo is not justt best practice, but by not doing so it makes the script prone to portability issues and policy violations (the only escape sequence that appears to work on all shells and is used by libtool is \\). Cheers, -- Raphael Geissert - Debian Maintainer www.debian.org - get.debian.net -- To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org