Hi,
On Friday 06 February 2009 17:02, Paul Jarc wrote:
> Michael Rendell wrote:
> > local x=$( echo hi; exit 20);
> > ret=$?
>
> Here you're getting the exit status of "local" itself, which is 0. If
> you want the exit status of the command substitution, make that a
> separate co
On 2009-02-08, donglongchao wrote:
> Dear Sir or Madam: I have a wonderful idea about
> Bash(GNU bash version 3.2.39(1)-release
> (i486-pc-linux-gnu)).
>
> When I use tools like 'cat' or some other commands
>like this,I find it hard to specify where the file
you probably mea
Dear Sir or Madam:
I have a wonderful idea about Bash(GNU bash version 3.2.39(1)-release
(i486-pc-linux-gnu)).
When I use tools like 'cat' or some other commands like this,I find it
hard to specify where the file that I 'cat' begins because the command I typed
just now was
Hello,
I'm trying to match a patterm that requires the behaviour of
FNM_PATHNAME (from fnmatch(3)). Unlike, say, FNM_PERIOD,
which is emulated by unsetting 'dotglob', there does not
seem to be an equivalent to emulate FNM_PATHNAME.
I'd like
[[ abc/dd/def.html == abc/*.html ]]; echo $?
to re