mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
sort flags; align usage output.
ok jmc@
This commit is contained in:
parent
c96de55035
commit
210e3edbe1
@ -1,4 +1,4 @@
|
||||
.\" $OpenBSD: cut.1,v 1.12 2007/05/31 19:20:09 jmc Exp $
|
||||
.\" $OpenBSD: cut.1,v 1.13 2008/06/27 08:02:13 sobrado Exp $
|
||||
.\" $NetBSD: cut.1,v 1.6 1995/10/02 20:19:26 jtc Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1989, 1990, 1993
|
||||
@ -33,7 +33,7 @@
|
||||
.\"
|
||||
.\" @(#)cut.1 8.1 (Berkeley) 6/6/93
|
||||
.\"
|
||||
.Dd $Mdocdate: May 31 2007 $
|
||||
.Dd $Mdocdate: June 27 2008 $
|
||||
.Dt CUT 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -49,8 +49,8 @@
|
||||
.Op Ar
|
||||
.Nm cut
|
||||
.Fl f Ar list
|
||||
.Op Fl d Ar delim
|
||||
.Op Fl s
|
||||
.Op Fl d Ar delim
|
||||
.Op Ar
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: cut.c,v 1.12 2007/03/15 22:38:24 jmc Exp $ */
|
||||
/* $OpenBSD: cut.c,v 1.13 2008/06/27 08:02:13 sobrado Exp $ */
|
||||
/* $NetBSD: cut.c,v 1.9 1995/09/02 05:59:23 jtc Exp $ */
|
||||
|
||||
/*
|
||||
@ -43,7 +43,7 @@ static char copyright[] =
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)cut.c 8.3 (Berkeley) 5/4/95";
|
||||
#endif
|
||||
static char rcsid[] = "$OpenBSD: cut.c,v 1.12 2007/03/15 22:38:24 jmc Exp $";
|
||||
static char rcsid[] = "$OpenBSD: cut.c,v 1.13 2008/06/27 08:02:13 sobrado Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <ctype.h>
|
||||
@ -283,8 +283,8 @@ void
|
||||
usage(void)
|
||||
{
|
||||
(void)fprintf(stderr,
|
||||
"usage: cut -b list [-n] [file ...]\n"
|
||||
"\tcut -c list [file ...]\n"
|
||||
"\tcut -f list [-d delim] [-s] [file ...]\n");
|
||||
"usage: cut -b list [-n] [file ...]\n"
|
||||
" cut -c list [file ...]\n"
|
||||
" cut -f list [-s] [-d delim] [file ...]\n");
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user