summaryrefslogtreecommitdiffstats
path: root/bin/test/test.1
Commit message (Collapse)AuthorAgeFilesLines
* test(1): Add information about replacing -nt/-ot.jilles2013-05-311-0/+16
|
* test(1): List non-standard primaries.jilles2013-05-311-1/+12
|
* test: Remove -ntXY and -otXY primaries.jilles2013-05-311-54/+4
| | | | | | | | | | | | | | | This reverts commit r247274. As maintainer of sh, I disapprove of this feature addition. It is too specific and can be done without easily using find(1) or stat(1). I will add some hints to the test(1) man page shortly. In general, FreeBSD sh is not the place to invent new shell language features. This is how it has been maintained and adding features randomly does not work with that. The new syntax (e.g. [ FILE1 -ntca FILE2 ]) looks cryptic to me.
* Enhance test(1) by adding provision to compare any combination of thepeterj2013-02-251-4/+54
| | | | | | | | | access, birth, change and modify times of two files, instead of only being able to compare modify times. The builtin test in sh(1) will automagically acquire the same expansion. Approved by: grog MFC after: 2 weeks
* test(1): Document == alias for =.jilles2012-12-271-1/+8
| | | | | | Reviewed by: gjb Requested by: gjb MFC after: 1 week
* Minor mdoc nits.joel2012-05-131-1/+1
|
* Revert changes of 'assure' to 'ensure' made in r211936.brucec2010-09-111-1/+1
| | | | Approved by: rrs (mentor)
* test(1): Fix markup, ( and ) must be separate arguments so leave spaces.jilles2010-09-101-1/+1
| | | | MFC after: 1 week
* test(1): Clarify grammar ambiguity and -a/-o vs shell &&/||.jilles2010-09-101-5/+12
|
* Fix incorrect usage of 'assure' and 'insure'.brucec2010-08-281-1/+1
| | | | Approved by: rrs (mentor)
* - rename the RETURN VALUES section to EXIT STATUSdanger2009-01-071-1/+1
| | | | | | | - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days
* Simplify some markup.ru2006-12-141-32/+34
|
* Granting the amount of misunderstanding the last change received,yar2006-07-311-1/+7
| | | | extend it with an example to clarify the point.
* Document that both sides of -a or -o are always evaluated. Thisyar2006-07-271-1/+8
| | | | | | | | | "feature" doesn't seem to be in the standards or elsewhere, and it is against what we are used to in C and sh(1), so put the paragraph under BUGS. Pointed out by: dougb MFC after: 3 days
* /*- or .\"- or #- to begin license clauses.imp2005-01-101-0/+1
|
* Clarify: test compares strings by binary value, not "ASCII value".tjr2004-07-031-3/+3
|
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+4
|
* Remove a duplicated description of the test for the null string.yar2004-06-071-5/+0
| | | | MFC after: 3 days
* Describe how test(1) will evaluate its expressions for a symlink.yar2004-06-071-1/+13
| | | | | Inspired by: SUSv3 MFC after: 1 week
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Make test(1) a builtin command of our sh(1) for efficiency. Theknu2001-11-171-0/+8
| | | | | | | | | | | binary size increase is 3,784 bytes (about 0.6%). I don't drop the printf builtin while I'm here because some /etc/rc.* scripts seem to use it before mounting /usr where printf(1) resides. Reviewed by: arch (sheldonh) Inspired by: NetBSD, ksh Clued by: ume (on how the printf builtin is used)
* The file_descriptor argument to -t isn't optional, so don't mark it up so.dd2001-08-311-1/+1
|
* mdoc(7) police:ru2001-08-071-1/+1
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Remove whitespace at EOL.dd2001-07-151-6/+6
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-6/+6
|
* mdoc(7) police: now that Nm macro accepts punctuation charactersru2000-11-181-1/+1
| | | | | | as argument, unbreak this page by escaping the `[' character. Noticed by: sheldonh
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Replace our test(1) with NetBSD's pdksh-derived version. The code issheldonh1999-08-161-18/+73
| | | | | | | | | | | | significantly easier to read and extend and offers a few new tests. A few style changes taken from style(9) and OpenBSD, as well as whitespace cleanups. This change was discussed on freebsd-committers and freebsd-hackers and met with approval from at least des, eivind and brian. PR: 13091 Obtained from: NetBSD
* Add cross-references to test(1) and expr(1) respectively.jkoshy1998-12-181-1/+4
| | | | | PR: docs/9111 Submitted by: Josh Gilliam <josh@quick.net>
* Add -S flag to test for sockets.cracauer1998-09-071-1/+5
| | | | | | PR: bin/7507 Reviewed by: I tested the patch Submitted by: Stefan `Sec` Zehl sec@42.org
* Correct use of .Nm. Add rcsid.charnier1998-05-181-7/+7
|
* Typo fix.charnier1997-06-021-2/+3
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Added $Id$dg1994-09-241-0/+1
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+255
OpenPOWER on IntegriCloud