From f56257d249ac743e3730127fceb15ab65dfab7a0 Mon Sep 17 00:00:00 2001 From: Pranav Raja Date: Wed, 25 Dec 2013 22:17:18 +1100 Subject: [PATCH] Add doc for wc(1) --- osx/wc.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 osx/wc.md diff --git a/osx/wc.md b/osx/wc.md new file mode 100644 index 0000000000..90c2842098 --- /dev/null +++ b/osx/wc.md @@ -0,0 +1,16 @@ +# wc + +> Count words, bytes, or lines + +- count lines in file + +`wc -l {{file}}` + +- count bytes in file + +`wc -c {{file}}` + +- count characters in file (taking multi-byte character sets into account) + +`wc -m {{file}}` +