pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: devel/glib2 fails on Linux with "syntax error in VERSION script"
On Sat, 17 Mar 2007, Jeremy C. Reed wrote:
> > /bin/sh is a symlink to dash, and that shell is not POSIX-compliant. In
> > particular,
> >
> > "echo '\400'" echoes an @ character.
POSIX allows that: "If the first operand is -n, or if any of the
operands contain a backslash ('\') character, the results are
implementation-defined."
It's better to avoid using echo(1). Use printf(1) with the "%s\n" format.
--apb (Alan Barrett)
Home |
Main Index |
Thread Index |
Old Index