diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-09-03 11:09:30 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-09-03 11:09:30 +0000 |
commit | 25818e05e234f7e28cf2f85c16dd8fda67d13b61 (patch) | |
tree | 75d9b923fe8192de2a66a9228540f829bf0d826b /usr.bin/sort | |
parent | d4eeef45f2a89e6c666b0fccd3ea95fee9c88b4d (diff) |
add an EXIT STATUS section for /usr/bin;
Diffstat (limited to 'usr.bin/sort')
-rw-r--r-- | usr.bin/sort/sort.1 | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/usr.bin/sort/sort.1 b/usr.bin/sort/sort.1 index 387a4ec7677..37e20377c8a 100644 --- a/usr.bin/sort/sort.1 +++ b/usr.bin/sort/sort.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sort.1,v 1.38 2010/06/28 15:28:52 jmc Exp $ +.\" $OpenBSD: sort.1,v 1.39 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)sort.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: June 28 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt SORT 1 .Os .Sh NAME @@ -364,27 +364,6 @@ option is still supported, except for which has no .Fl k equivalent. -.Pp -The -.Nm -utility exits with one of the following values: -.Pp -.Bl -tag -width flag -compact -.It 0 -Normal behavior. -.It 1 -The input file is not sorted and -.Fl C -or -.Fl c -was given, or there are duplicate keys and -.Fl Cu -or -.Fl cu -was given. -.It 2 -An error occurred. -.El .Sh ENVIRONMENT .Bl -tag -width Fl .It Ev TMPDIR @@ -406,6 +385,27 @@ if .Ar output already exists .El +.Sh EXIT STATUS +The +.Nm +utility exits with one of the following values: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It 0 +Normal behavior. +.It 1 +The input file is not sorted and +.Fl C +or +.Fl c +was given, or there are duplicate keys and +.Fl Cu +or +.Fl cu +was given. +.It 2 +An error occurred. +.El .Sh SEE ALSO .Xr comm 1 , .Xr join 1 , |