[3350] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: what is /usr/bin/[ ?

daemon@ATHENA.MIT.EDU (James Fidell)
Fri Nov 8 04:33:46 1996

From: James Fidell <james@corp.netcom.net.uk>
To: redhat-list@redhat.com
Date: Fri, 8 Nov 1996 09:30:56 +0000 (GMT)
In-Reply-To: <Pine.SOL.3.91.961108041724.10150A-100000@sun2.bnl.gov> from "jyan-min fang" at Nov 8, 96 04:20:40 am
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

> the title says it all. so what is /usr/bin/[?
> (I can't find the man page for it)

HINT:

    if test -f <filename>

may also be written :

    if [ -f <filename ]

"test"  does not have to be a shell built-in.

James.
-- 
 "Yield to temptation --             | Work: james@corp.netcom.net.uk
  it may not pass your way again"    | Play: james@hermione.demon.co.uk
                                     | http://www.netcom.net.uk/~james/
        - Lazarus Long               |              James Fidell


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post