From: Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>
To: Paul Davis <paul@linuxaudiosystems.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: problems compiling current CVS
Date: Mon, 2 Jun 2003 21:38:13 -0700 [thread overview]
Message-ID: <20030603043813.GA30485@ds0.van.maves.ca> (raw)
In-Reply-To: <E19N2mg-0008HZ-00@dewey.paralynx.net>
lundi, le 2 juin, 2003, Paul Davis nous a dit ceci:
> >This bit:
> >
> > ${xtmp:0:5}
> >
> >is a Bash-ism. Normal Bourne shells don't understand this. I'm guessing
> >that your system's /bin/sh isn't Bash. You might be able to put a
> >
> > SHELL=/bin/bash
>
> paul[2846]>which sh
> /bin/sh
> paul[2847]>ls -l /bin/sh
> lrwxrwxrwx 1 root root 4 Aug 16 2000 /bin/sh -> bash
> paul[2852]>bash -version
> GNU bash, version 1.14.7(1)
Looks like I guessed wrong. The only system I still have access to with
Bash 1.x on it isn't accessible right now, and the newer ones I do have
access to don't say when the ${foo:0:5} syntax was added.
Dunno why it's not working. You might try bash2, viz.:
------------------------------------------------------------------------------
21:34 [clamat@ds0:~] 168 > /bin/bash -version
GNU bash, version 2.04.0(1)-release (i586-pc-linux-gnu)
Copyright 1999 Free Software Foundation, Inc.
21:35 [clamat@ds0:~] 169 > /bin/bash
bash-2.04$ x=testvalue
bash-2.04$ echo ${x:0:5}
testv
bash-2.04$ exit
21:35 [clamat@ds0:~] 170 >
------------------------------------------------------------------------------
Matt.
--
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
-- Richard P. Feynman
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
prev parent reply other threads:[~2003-06-03 4:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-02 23:08 problems compiling current CVS Paul Davis
[not found] ` <20030603031534.GA27280@ds0.van.maves.ca>
2003-06-03 3:54 ` Paul Davis
2003-06-03 9:54 ` Takashi Iwai
2003-06-03 12:43 ` Takashi Iwai
[not found] ` <20030603034728.GA29666@ds0.van.maves.ca>
2003-06-03 4:20 ` Matthew Clarke
[not found] ` <E19N2mg-0008HZ-00@dewey.paralynx.net>
2003-06-03 4:38 ` Matthew Clarke [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030603043813.GA30485@ds0.van.maves.ca \
--to=matthew_clarke@mindlink.bc.ca \
--cc=alsa-devel@lists.sourceforge.net \
--cc=paul@linuxaudiosystems.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.