Log rotation
Derek Martin
ddm at pizzashack.org
Sat Aug 4 12:46:19 EDT 2001
On Sat, Aug 04, 2001 at 10:45:22AM -0400, Jerry Feldman wrote:
> Actually ksh does not implement [ as a builtin. It uses [[ as a builtin.
> Derek Martin wrote:
Having been told in a shell scripting class I took in 1996 that
virtually all modern shells implemented test as built-ins, I was
curious enough about this to download the source for ksh93 from AT&T's
website:
http://www.research.att.com/sw/download/
Actually, though the man page included does not say so (it refers you
to the man page for test(1)), ksh93 does implement test (and [) as a
shell built-in command. From src/cmd/bltin/test.c:
/*
* test expression
* [ expression ]
*
* David Korn
* AT&T Labs
* research!dgk
*
*/
--
---------------------------------------------------
Derek Martin | Unix/Linux geek
ddm at pizzashack.org | GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).
More information about the Discuss
mailing list