Julian Elischer writes:
| dino wrote:
| > Hello,
| >
| > on my FreeBSD 7.0-STABLE the line:
| >
| >> sh -c 'set -- ${HOME+A B C}; echo "1:$1"; echo "2:$2:"; echo "3:$3:"'
| >
| > prints
| >
| > 1:A B C:
| > 2::
| > 3::
| >
| > I would rather expect:
| >
| > 1:A:
| > 2:B:
| > 3:C:
| >
| > Is
On Sun, 06 Apr 2008 11:17:18 -0700, Julian Elischer <[EMAIL PROTECTED]> wrote:
> dino wrote:
>> Hello,
>>
>> on my FreeBSD 7.0-STABLE the line:
>>
>>> sh -c 'set -- ${HOME+A B C}; echo "1:$1"; echo "2:$2:"; echo "3:$3:"'
>>
>> prints
>>
>> 1:A B C:
>> 2::
>> 3::
>>
>> I would rather expect:
>>
>> 1
David Wolfskill <[EMAIL PROTECTED]> writes:
> To that end, I've cobbled up a Perl script that acts as a "wrapper"
> around time(1) and uses that command to obtain the "rusage" (ref.
> getrusage(2)) information about the command in question.
http://search.cpan.org/~taffy/Unix-Getrusage-0.03/
DES
-
Julian Elischer <[EMAIL PROTECTED]> writes:
> "A B C" is a single value tha thappens to contain spaces.
> so, yes there is no splitting at that point.
Unfortunately, I do not have a copy of the original Bourne shell, but
bash in both bash and sh mode disagrees; zsh in both sh and ksh mode
disagree
On Fri, Apr 4, 2008 at 10:36 AM, Alexander Leidinger
<[EMAIL PROTECTED]> wrote:
> Unfortunately this is not suitable for the SoC. Google wants code
> contributions, not pure documentation work. Maybe you can find something
> else you would be willing to do during the SoC. In case you haven't send
On Sat, 5 Apr 2008 16:50:38 +0200, Ed Schouten <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> Because my mpsafetty project in Perforce is going quite well, I'm
> considering running some kind of cron job to generate nightly diffs, so
> other people (interested friends, colleagues and others) to t
dino wrote:
Hello,
on my FreeBSD 7.0-STABLE the line:
sh -c 'set -- ${HOME+A B C}; echo "1:$1"; echo "2:$2:"; echo "3:$3:"'
prints
1:A B C:
2::
3::
I would rather expect:
1:A:
2:B:
3:C:
Is it correct that field splitting isn't performed on default/alternate
expanded values?
"A B C" is
Hello,
on my FreeBSD 7.0-STABLE the line:
> sh -c 'set -- ${HOME+A B C}; echo "1:$1"; echo "2:$2:"; echo "3:$3:"'
prints
1:A B C:
2::
3::
I would rather expect:
1:A:
2:B:
3:C:
Is it correct that field splitting isn't performed on default/alternate
expanded values?
regards,
Corrado Ficicchi
8 matches
Mail list logo