summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-02-11 13:21:46 +0000
committerJim Meyering <jim@meyering.net>1995-02-11 13:21:46 +0000
commit79c16924de3eb2ec2a7a66c506fc3fd8a330b4c4 (patch)
tree2c104959653f7266361dab1e67385313449b908d /src
parenta3d2e589edcca9f8b511436027d2fd7f62c7849c (diff)
downloadcoreutils-79c16924de3eb2ec2a7a66c506fc3fd8a330b4c4.tar.xz
Fix example in comment.
Diffstat (limited to 'src')
-rw-r--r--src/wc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wc.c b/src/wc.c
index 4d307cd18..1f362fd09 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -211,7 +211,8 @@ wc (fd, file)
NOTE: using fstat and stats.st_size (and omitting the lseek calls)
overcounts when the file is not positioned at the beginning.
- For example the command `(dd skip=9999; wc -c) < /etc/group'
+ For example the command
+ `(dd ibs=99k skip=1 count=0; ./wc -c) < /etc/group'
should make wc report `0' bytes. */
if (print_chars && !print_words && !print_lines)