[plug] bash scripting

James Devenish devenish at guild.uwa.edu.au
Tue Dec 23 20:16:37 WST 2003


In message <20031223120415.GB1368 at erdos.home>
on Tue, Dec 23, 2003 at 08:04:15PM +0800, Cameron Patrick wrote:
> On Tue, Dec 23, 2003 at 07:56:42PM +0800, James Devenish wrote:
> | That is an epitome of the necessary style, as far as I know, though in
> | ksh and zsh, `true` is a built-in command and has negligible overhead.
> | However, in bash 2.05a, it appears there is no such built-in.
> 
> Um, that's wrong unless it changed between 2.05a and 2.05b.  My bash
> /does/ have true and false built in.

It seems that 2.05a does, too (I wasn't aware of `type` because I'm used
to `whence`/`which`). I looked for `true` in the Bash man page, but it
isn't listed.





More information about the plug mailing list