[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Nils Nordman <nino_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Fri, 2 May 2003 15:12:49 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: nino_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2003/05/02 15:12:49
Modified files:
usr.bin/what : what.1 what.c
Log message:
Update to conform to Posix 1003.1-2001.
* what now accepts a -s parameter which causes
it to quit searching after finding the first match.
* stdin is no longer valid for input, one or more
filenames have to be provided.
* Backslash is recoqnized as a pattern delimiter.
* The exit status reflects the number of mathes
found (0 if any matches were found, 1 otherwise).
Also replace strncpy -> strlcpy.
Mostly a sync with netbsd.
Input pjanzen@, vincent_(_at_)__(_dot_)_
ok millert_(_at_)__(_dot_)_
Visit your host, monkey.org