summaryrefslogtreecommitdiff
path: root/util/sbase/wc.1
diff options
context:
space:
mode:
Diffstat (limited to 'util/sbase/wc.1')
-rw-r--r--util/sbase/wc.128
1 files changed, 28 insertions, 0 deletions
diff --git a/util/sbase/wc.1 b/util/sbase/wc.1
new file mode 100644
index 00000000..91c05018
--- /dev/null
+++ b/util/sbase/wc.1
@@ -0,0 +1,28 @@
+.Dd October 8, 2015
+.Dt WC 1
+.Os sbase
+.Sh NAME
+.Nm wc
+.Nd word count
+.Sh SYNOPSIS
+.Nm
+.Op Fl c | Fl m
+.Op Fl lw
+.Op Ar file ...
+.Sh DESCRIPTION
+.Nm
+writes the number of lines, words and bytes in each
+.Ar file
+to stdout.
+If no
+.Ar file
+is given
+.Nm
+reads from stdin.
+.Sh OPTIONS
+.Bl -tag -width Ds
+.It Fl c | Fl l | Fl m | Fl w
+Print the number of bytes | lines | characters | words.
+.El
+.Sh STANDARDS
+POSIX.1-2013.