On Fri, 26 Aug 2005, Otto Moerbeek wrote:
> On Fri, 12 Aug 2005, Dave Anderson wrote:
>
> > ** Reply to message from Otto Moerbeek <[EMAIL PROTECTED]> on Wed, 10 Aug
> > 2005 21:18:09 +0200 (CEST)
> >
> > >I took some time to look into this. After some head scratching and
> > >staring at code,
On Fri, 12 Aug 2005, Dave Anderson wrote:
> ** Reply to message from Otto Moerbeek <[EMAIL PROTECTED]> on Wed, 10 Aug
> 2005 21:18:09 +0200 (CEST)
>
> >I took some time to look into this. After some head scratching and
> >staring at code, I tested this behaviour using both the '88 and '93
> >ver
** Reply to message from Otto Moerbeek <[EMAIL PROTECTED]> on Wed, 10 Aug
2005 21:18:09 +0200 (CEST)
>I took some time to look into this. After some head scratching and
>staring at code, I tested this behaviour using both the '88 and '93
>versions the AT&T version of ksh on Solaris. They both ha
On Wed, 3 Aug 2005, Otto Moerbeek wrote:
>
> On Wed, 3 Aug 2005, Dave Anderson wrote:
>
> > Something's screwy here, using the 'set -A' command in /bin/sh on
> > 3.7-release. AFAICT the complicated file-match expression should (in
> > this case) produce the same results as the simple one, but i
** Reply to message from Otto Moerbeek <[EMAIL PROTECTED]> on Wed, 3 Aug
2005 14:51:09 +0200 (CEST)
>On Wed, 3 Aug 2005, Dave Anderson wrote:
>
>> Something's screwy here, using the 'set -A' command in /bin/sh on
>> 3.7-release. AFAICT the complicated file-match expression should (in
>> this case
** Reply to message from Andreas Kahari <[EMAIL PROTECTED]> on
Wed, 3 Aug 2005 13:55:59 +0100
>See sh(1), under "Command execution":
>
>[...] Just to confuse things, if the posix option is turned off (see
>the set command below), some special commands are very special in that
>no field splitting,
I'm sorry, but my diagnosis wasn't correct. The "op( )"-type file
patterns simply doesn't seems to work properly in functions:
#!/bin/sh
function test
{
set -A arr $1
print [EMAIL PROTECTED]
print $1
}
test "*"
test "@(test.sh)"
$ ls
test.sh
$ ./test.sh
test.sh
test.sh
@(test.sh)
See sh(1), under "Command execution":
[...] Just to confuse things, if the posix option is turned off (see
the set command below), some special commands are very special in that
no field splitting, file globbing, nor tilde expansion is performed on
arguments that look like assignments.
Andreas
On Wed, 3 Aug 2005, Dave Anderson wrote:
> Something's screwy here, using the 'set -A' command in /bin/sh on
> 3.7-release. AFAICT the complicated file-match expression should (in
> this case) produce the same results as the simple one, but it doesn't
> seem to match at all when used in this scri
Something's screwy here, using the 'set -A' command in /bin/sh on
3.7-release. AFAICT the complicated file-match expression should (in
this case) produce the same results as the simple one, but it doesn't
seem to match at all when used in this script -- but does produce the
expected result when cu
10 matches
Mail list logo