diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2005-09-27 23:40:08 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2005-09-27 23:40:08 +0000 |
commit | a0ec5e6d29ce08b2f2472d1cc16b0d7b006ebb55 (patch) | |
tree | f123191ba91c90bef630a7eda04f53ccc174adc6 /usr.bin/sort/sort.1 | |
parent | ab818fa8908bb05ac7e1579de18648ebd8af2a05 (diff) |
add a -z option that allows you to split records on the nul character
('\0'). useful in combination with things like "find . -print0" and
"xargs -0". for dewi, a chump.
ok deraadt@
Diffstat (limited to 'usr.bin/sort/sort.1')
-rw-r--r-- | usr.bin/sort/sort.1 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/sort/sort.1 b/usr.bin/sort/sort.1 index e42e6435dea..39f25c29e64 100644 --- a/usr.bin/sort/sort.1 +++ b/usr.bin/sort/sort.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sort.1,v 1.21 2003/07/14 12:56:07 jmc Exp $ +.\" $OpenBSD: sort.1,v 1.22 2005/09/27 23:40:07 dlg Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -40,7 +40,7 @@ .Nd sort or merge text files .Sh SYNOPSIS .Nm sort -.Op Fl cmubdfinrH +.Op Fl cmubdfinrzH .Op Fl t Ar char .Op Fl R Ar char .Oo @@ -198,6 +198,8 @@ option replaces the obsolescent options .Cm \(pl Ns Ar pos1 and .Fl Ns Ar pos2 . +.It Fl z +Uses the nul character as the record separator. .El .Pp The following operands are available: |