aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-28 12:56:15 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-28 12:59:15 +1200
commit8b398553a6d6667c004b5fd2125501613471a2b5 (patch)
tree442b99ffd4f76cac2695acdf25b7a2e0ca3db04c /man
parentResolve issue (diff)
downloaddotfiles-8b398553a6d6667c004b5fd2125501613471a2b5.tar.gz
dotfiles-8b398553a6d6667c004b5fd2125501613471a2b5.zip
Add mw(1df)
Diffstat (limited to 'man')
-rw-r--r--man/man1/mw.1df25
1 files changed, 25 insertions, 0 deletions
diff --git a/man/man1/mw.1df b/man/man1/mw.1df
new file mode 100644
index 00000000..51623600
--- /dev/null
+++ b/man/man1/mw.1df
@@ -0,0 +1,25 @@
+.TH MW 1df "May 2017" "Manual page for mw"
+.SH NAME
+.B mw
+\- get space-delimited alphabetic words from input, one per line
+.SH SYNOPSIS
+.B mw FILE1
+[FILE2...]
+.br
+prog1 |
+.B mw
+.SH DESCRIPTION
+.B mw
+separates the input into space-delimited words and prints them one per line,
+with no deduplication or sorting. It's a fairly naïve approach to the problem
+but it works fine as a crude initial approach.
+.SH NOTES
+This was written after watching that lovely old AT&T video where members of the
+Unix team (specifically Brian Kernighan and Lorinda Cherry) demonstrate piping
+programs together; Kernighan demonstrates `makewords` during his example.
+.P
+<https://www.youtube.com/watch?v=tc4ROCJYbm0&t=5m30s>
+.SH SEE ALSO
+ddup(1df), sort(1), uniq(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>