bug-sh-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in Makefile


From: Bob Proulx
Subject: Re: bug in Makefile
Date: Thu, 2 Jan 2003 20:08:39 -0700
User-agent: Mutt/1.4i

Puntudis T., M.D. <address@hidden> [2003-01-02 19:05:59 +0700]:
> make --> complaint the below.

Thanks for the report.

> BTW, I just want ''echo -e''. This u*x does NOT have it :-(

Note that 'echo' is a shell builtin.  You probably want to compile a
shell such as bash and not the standalone program.

I don't know anything about OSF1 but SysV generally does not need any
options to activate interpretation of quoted characters.  Perhaps that
is true of Digital Unix as well?  Those systems do -e processing by
default.  Personally I think the GNU systems should too.  But since it
is importable you should avoid it.  I recommend that you use 'printf'
instead since that is standard with respect to processing of quoted
characters.  All POSIX conformant systems should have one.

  printf "prompt: "
  printf "one line\ntwo line\n"

The latest version of echo, printf and the other utils is in coreutils
here at this location.  Instead of building the older sh-utils you
should try to use the new combined coreutils instead.  (However, the
same problem exists there currently.)

  http://alpha.gnu.org/gnu/coreutils/

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]