wc
QNX SDP8.0Utilities ReferenceUtilities
Count lines, words, and characters in input (POSIX, toybox)
Syntax:
wc -clmw [file...]
Runs on:
QNX OS
Options:
- -c
- Show bytes.
- -l
- ("el") Show lines.
- -m
- Show characters.
- -w
- Show words.
- file
- The pathname of a file to use as input.
Description:
By default, the wc utility outputs lines, words, bytes, and the filename for each argument (or from stdin if none).
The utility only displays either bytes or characters.
This utility is provided as part of the toybox package. For information on how to enable it, see toybox.
Contributing author:
Rob Landley and the toybox project (see https://landley.net/toybox/).
Page updated: