configure.in: Someone please show me a better way :)
Gary E. Miller
gem at rellim.com
Fri Dec 22 07:05:08 EST 2000
Yo Roumen!
/bin/sh in SCO fails the script:
$ /bin/sh tmp
UX:sh (tmp): ERROR: X0=x0: is not an identifier
uname -a
UnixWare demo 5 7.1.0 i386 x86at SCO UNIX_SVR5
AIX works:
$ uname -a
AIX aixtest 3 4 0019203D4C00
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 20340 Empire Ave, Suite E-3, Bend, OR 97701
gem at rellim.com Tel:+1(541)382-8588 Fax: +1(541)382-8676
On Thu, 21 Dec 2000, Roumen Petrov wrote:
>
> Q: What platform don't run this script:
> ----------------------------------------
> #!/bin/sh
>
> export X0='x0'
>
> export X1a="$X0/1"
> export X1b='$X0/1'
>
> export X2a="$X1a/2"
> export X2b='$X1b/2'
>
> $SHELL <<EOF_2
> $SHELL <<EOF_1
> cat <<EOF
> #define a "$X2a/aa"
> #define b "$X2b/bb"
> EOF
> EOF_1
> EOF_2
> ----------------------------------------
> Output must be:
> #define a "x0/1/2/aa"
> #define b "x0/1/2/bb"
>
> With bash and bash in sh mode on linux work.
> What about other ..UX implementation ?
More information about the openssh-unix-dev
mailing list