On Tue, 28 Jul 2009, mk27 wrote:
cc=('who' 'bash -c time ls -l' 'date')
for e in 0 1 2; do ${cc[$e]}; done
produces an error:
ls: -c: line 0: unexpected EOF while looking for matching `'
ls: -c: line 1: syntax error: unexpected end of file
well, there isn't a missing AFAICT, and
On 06/16/2009 11:55 AM, Roman Rakus wrote:
On 06/02/2009 01:33 PM, Roman Rakus wrote:
When you are sourcing bash script, which contains \0 character, bash
thinks it is end of file.
I have investigated, that `source' loads entire file into memory as
string. Then \0 is end of this string.
One of
This patch will delete all `\0' characters which are not at the end of
sourced file.
RR
Any update, comments, activity...?
A solution will be in the next version of bash.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRUc...@case.edu
Hello People
I am trying to port various GNU products to Stratus OpenVOS platform
including the baash shell. However I am stuck currently for the lack of wide
multibyte character support. Can somebody guide me to an implementation of
the same that I can port first. The glibc is also proving a
On Wed, 29 Jul 2009, mk27 wrote:
Take a look at the arguments you are actually using:
[root~] printf %s ${cc[1]}
bash-ctimels-l
Again, I can't see the missing
Try using the code I posted:
printf %s\n ${cc[1]}
--
Chris F.A. Johnson, webmaster
mk27 halfcountp...@intergate.com writes:
Take a look at the arguments you are actually using:
[root~] printf %s ${cc[1]}
bash-ctimels-l
Again, I can't see the missing
Try your original example after set -x.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA