test.1 (b97fa2ef508bb1cc99621edb8b6d03845b55b8bd) | test.1 (c263cc216588abf98d5653a6b931a6e839d01014) |
---|---|
1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the Institute of Electrical and Electronics Engineers, Inc. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 19 unchanged lines hidden (view full) --- 28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" SUCH DAMAGE. 34.\" 35.\" @(#)test.1 8.1 (Berkeley) 5/31/93 | 1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the Institute of Electrical and Electronics Engineers, Inc. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 19 unchanged lines hidden (view full) --- 28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" SUCH DAMAGE. 34.\" 35.\" @(#)test.1 8.1 (Berkeley) 5/31/93 |
36.\" $Id$ | 36.\" $Id: test.1,v 1.4 1997/02/22 14:06:23 peter Exp $ |
37.\" 38.Dd May 31, 1993 39.Dt TEST 1 40.Os 41.Sh NAME 42.Nm test 43.Nd condition evaluation utility 44.Sh SYNOPSIS --- 51 unchanged lines hidden (view full) --- 96is nonzero. 97.It Fl p Ar file 98True if 99.Ar file 100is a named pipe 101.Po Tn FIFO Pc . 102.It Fl r Ar file 103True if | 37.\" 38.Dd May 31, 1993 39.Dt TEST 1 40.Os 41.Sh NAME 42.Nm test 43.Nd condition evaluation utility 44.Sh SYNOPSIS --- 51 unchanged lines hidden (view full) --- 96is nonzero. 97.It Fl p Ar file 98True if 99.Ar file 100is a named pipe 101.Po Tn FIFO Pc . 102.It Fl r Ar file 103True if |
104.Ar file exists and is readable. | 104.Ar file 105exists and is readable. |
105.It Fl s Ar file 106True if 107.Ar file 108exists and has a size greater 109than zero. 110.It Fl t Ar [file_descriptor] 111True if the file whose file descriptor number 112is --- 144 unchanged lines hidden --- | 106.It Fl s Ar file 107True if 108.Ar file 109exists and has a size greater 110than zero. 111.It Fl t Ar [file_descriptor] 112True if the file whose file descriptor number 113is --- 144 unchanged lines hidden --- |