bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test -t


From: Chet Ramey
Subject: Re: test -t
Date: Wed, 03 Sep 2008 14:30:53 -0400
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)

Paul Jarc wrote:

> Similar language is in bash's man page and coreutils' info
> documentation.  But it wouldn't hurt to add a note to indicate that if
> no operand is provided, then "-t" and other operators stop being
> operators, and are tested as plain strings.

This is covered in the man page and info document in the `test' builtin
section, where the behavior is detailed based on the number of arguments
supplied to `test'.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]