wc
E299162
wc is a GNU Core Utilities command-line program that counts lines, words, and bytes in text input.
All labels observed (1)
| Label | Occurrences |
|---|---|
| wc canonical | 1 |
Statements (46)
| Predicate | Object |
|---|---|
| instanceOf |
GNU Core Utilities program
ⓘ
Unix command ⓘ command-line utility ⓘ |
| byteCountBasis | raw bytes in file ⓘ |
| characterCountBasis | multibyte-aware in GNU implementation ⓘ |
| commandCategory | text processing utility ⓘ |
| countsNewlineAsLineSeparator | true ⓘ |
| defaultBehavior | print line word and byte counts ⓘ |
| developer | Free Software Foundation ⓘ |
| distribution | most Unix-like operating systems ⓘ |
| documentation | man wc ⓘ |
| firstAppearedIn | Version 1 Unix ⓘ |
| includedIn |
POSIX
ⓘ
surface form:
POSIX standard
|
| inputType |
standard input
ⓘ
text files ⓘ |
| interface | command-line ⓘ |
| license | GNU General Public License ⓘ |
| operatingSystem |
Linux
ⓘ
Unix ⓘ Unix-like systems ⓘ macOS ⓘ |
| output | counts followed by file name ⓘ |
| partOf |
GNU Core Utilities
ⓘ
surface form:
GNU Coreutils
|
| primaryFunction |
count bytes in input
ⓘ
count characters in input ⓘ count lines in input ⓘ count words in input ⓘ |
| printsTotalForMultipleFiles | true ⓘ |
| projectWebsite | https://www.gnu.org/software/coreutils/ ⓘ |
| requires | shell or terminal environment ⓘ |
| supportsMultipleFiles | true ⓘ |
| supportsOption |
--bytes
ⓘ
--chars ⓘ --lines ⓘ --max-line-length ⓘ --words ⓘ -L ⓘ -c ⓘ -l ⓘ -m ⓘ -w ⓘ |
| typicalUsage |
wc -c file.txt
ⓘ
wc -l file.txt ⓘ wc -w file.txt ⓘ wc file.txt ⓘ |
| wordDefinition | sequence of non-whitespace characters ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.