Subject: misc/1740: test(1) missing definition of -h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <windsor@punk.hedgehog.com>
List: netbsd-bugs
Date: 11/07/1995 23:44:33
>Number:         1740
>Category:       misc
>Synopsis:       test(1) doesn't list -h operator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov  8 03:05:01 1995
>Last-Modified:
>Originator:     Rob Windsor
>Organization:
>Release:        NetBSD-current as of Nov 1
>Environment:
System: NetBSD punk 1.1_ALPHA NetBSD 1.1_ALPHA (PUNK) #2: Fri Nov 3 01:44:45 PST 1995 root@punk:/usr/local/NetBSD/src/sys/arch/i386/compile/PUNK i386

>Description:
	test(1) does not list the -h operator even though it appears
	in the periodic accounting scripts (/etc/{daily,monthly,...})

>How-To-Repeat:
	`man 1 test`

>Fix:
*** /usr/src/bin/test/test.1.orig       Tue Nov  7 23:06:33 1995
--- /usr/src/bin/test/test.1    Tue Nov  7 23:24:05 1995
***************
*** 87,92 ****
--- 87,100 ----
  .Ar file
  exists and its set group ID flag
  is set.
+ .It Fl h Ar file
+ True if
+ .Ar file
+ exists and is a symbolic link.
+ This operator is for COMPATABILITY purposes,
+ do not rely on it's existance.  Use
+ .Fl L
+ instead.
  .It Fl k Ar file
  True if
  .Ar file

>Audit-Trail:
>Unformatted: