From d904a0b788e403376ca6959089340457c4bbda0a Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Fri, 5 Feb 2016 11:04:37 -0500 Subject: [PATCH 1/2] sum: add page --- pages/common/sum.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/common/sum.md diff --git a/pages/common/sum.md b/pages/common/sum.md new file mode 100644 index 000000000..405d0ba17 --- /dev/null +++ b/pages/common/sum.md @@ -0,0 +1,11 @@ +# sum + +> Compute checksums and the number of blocks for a file + +- Compute a checksum with BSD-compatible algorithm and 1024-byte blocks: + +`sum {{file}}` + +- Compute a checksum with System V-compatible algorithm and 512-byte blocks + +`sum --sysv {{file}}` From dd504d545de7f09ed0bedcaee2d3e18f68602297 Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Fri, 5 Feb 2016 12:05:30 -0500 Subject: [PATCH 2/2] sum: mentioned cksum --- pages/common/sum.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/common/sum.md b/pages/common/sum.md index 405d0ba17..f3e509386 100644 --- a/pages/common/sum.md +++ b/pages/common/sum.md @@ -1,6 +1,7 @@ # sum -> Compute checksums and the number of blocks for a file +> Compute checksums and the number of blocks for a file. +> A predecessor to the more modern `cksum`. - Compute a checksum with BSD-compatible algorithm and 1024-byte blocks: