[Debian-eeepc-devel] eeepc-acpi-scripts + console + gnu screen ircase?effect

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Mon Apr 12 21:23:54 UTC 2010


On Mon, 12 Apr 2010, Cristian Ionescu-Idbohrn wrote:

> > > This:
> > > 	if [ -n "$4" -o \( -n "$3" -a "$3" != 'fast' \) ]; then
> > > 	                 ^                            ^
> > > will fork a subshell.
> >
> > No; but, unescaped, it would.
>
> I'll have to dig a little.  What shell?  Bash or Dash?

Yes.  I checked both.  You're right.  'clone' is _not_ called when using
that syntax.

> > > What does $3 represent?  I see it's tested against the string 'fast'.
> > > I guess $3 may also have the value 'low' :)
> >
> > Not really...
>
> My typo, I intended to write 'slow' :)

Still, it would be a good thing to document what the $3, $4... arguments
represent.


Cheers,

-- 
Cristian



More information about the Debian-eeepc-devel mailing list