Deleted Added
full compact
sort.1.in (235987) sort.1.in (236046)
1.\" $OpenBSD: sort.1,v 1.31 2007/08/21 21:22:37 millert Exp $
1.\" $OpenBSD: sort.1,v 1.31 2007/08/21 21:22:37 millert Exp $
2.\" $FreeBSD: head/usr.bin/sort/sort.1.in 235987 2012-05-25 09:30:16Z gabor $
2.\" $FreeBSD: head/usr.bin/sort/sort.1.in 236046 2012-05-26 06:31:54Z joel $
3.\"
4.\" Copyright (c) 1991, 1993
5.\" The Regents of the University of California. All rights reserved.
6.\"
7.\" This code is derived from software contributed to Berkeley by
8.\" the Institute of Electrical and Electronics Engineers, Inc.
9.\"
10.\" Redistribution and use in source and binary forms, with or without

--- 485 unchanged lines hidden (view full) ---

496The obsolete
497.Cm \(pl Ns Ar pos1
498.Fl Ns Ar pos2
499option is still supported, except for
500.Fl Ns Ar w\&.0b ,
501which has no
502.Fl k
503equivalent.
3.\"
4.\" Copyright (c) 1991, 1993
5.\" The Regents of the University of California. All rights reserved.
6.\"
7.\" This code is derived from software contributed to Berkeley by
8.\" the Institute of Electrical and Electronics Engineers, Inc.
9.\"
10.\" Redistribution and use in source and binary forms, with or without

--- 485 unchanged lines hidden (view full) ---

496The obsolete
497.Cm \(pl Ns Ar pos1
498.Fl Ns Ar pos2
499option is still supported, except for
500.Fl Ns Ar w\&.0b ,
501which has no
502.Fl k
503equivalent.
504.Sh EXIT STATUS
505The
506.Nm
507utility shall exit with one of the following values:
508.Pp
509.Bl -tag -width flag -compact
510.It 0
511Successfully sorted the input files or if used with
512.Fl c
513or
514.Fl C ,
515the input file already met the sorting criteria.
516.It 1
517On disorder (or non-uniqueness) with the
518.Fl c
519or
520.Fl C
521options.
522.It 2
523An error occurred.
524.El
525.Sh ENVIRONMENT
526.Bl -tag -width Fl
527.It Ev LC_COLLATE
528Locale settings to be used to determine the collation for
529sorting records.
530.It Ev LC_CTYPE
531Locale settings to be used to case conversion and classification
532of characters, that is, which characters are considered

--- 40 unchanged lines hidden (view full) ---

573.El
574.Sh FILES
575.Bl -tag -width Pa -compact
576.It Pa /var/tmp/.bsdsort.PID.*
577Temporary files.
578.It Pa /dev/random
579Default seed file for the random sort.
580.El
504.Sh ENVIRONMENT
505.Bl -tag -width Fl
506.It Ev LC_COLLATE
507Locale settings to be used to determine the collation for
508sorting records.
509.It Ev LC_CTYPE
510Locale settings to be used to case conversion and classification
511of characters, that is, which characters are considered

--- 40 unchanged lines hidden (view full) ---

552.El
553.Sh FILES
554.Bl -tag -width Pa -compact
555.It Pa /var/tmp/.bsdsort.PID.*
556Temporary files.
557.It Pa /dev/random
558Default seed file for the random sort.
559.El
560.Sh EXIT STATUS
561The
562.Nm
563utility shall exit with one of the following values:
564.Pp
565.Bl -tag -width flag -compact
566.It 0
567Successfully sorted the input files or if used with
568.Fl c
569or
570.Fl C ,
571the input file already met the sorting criteria.
572.It 1
573On disorder (or non-uniqueness) with the
574.Fl c
575or
576.Fl C
577options.
578.It 2
579An error occurred.
580.El
581.Sh SEE ALSO
582.Xr comm 1 ,
583.Xr join 1 ,
584.Xr uniq 1 .
585.Sh STANDARDS
586The
587.Nm
588utility is compliant with the

--- 50 unchanged lines hidden ---
581.Sh SEE ALSO
582.Xr comm 1 ,
583.Xr join 1 ,
584.Xr uniq 1 .
585.Sh STANDARDS
586The
587.Nm
588utility is compliant with the

--- 50 unchanged lines hidden ---