[PATCH modular] build.sh usage text: remove annoying backslashes

Trevor Woerner twoerner at gmail.com
Wed Oct 6 14:46:44 PDT 2010


On Wed, Oct 6, 2010 at 5:30 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
> This is text intended for the user to read, not the shell
> interpreter.

Yes, that's why there are backslashes, so the interpreter doesn't
replace them when displaying the help text.

For example the user is told they can set an environment variable
called "LIBDIR" to specify where to install libraries. FONTPATH uses
the defined LIBDIR so to specify the FONTPATH the usage is currently
described as:

    FONTPATH: font path to use (defaults under: $PREFIX/$LIBDIR...)

If you remove the backslashes the user will be informed that:

    FONTPATH: font path to use (defaults under: /...)

if neither $PREFIX nor $LIBDIR are set. In this case it's not clear to
the user that the FONTPATH is being built using the predefined PREFIX
and LIBDIR variables.


More information about the xorg-devel mailing list