-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

wc


> Count lines, words, and bytes.

More information.


Count all lines in a file:

wc --lines {path/to/file}

Count all words in a file:

wc --words {path/to/file}

Count all bytes in a file:

wc --bytes {path/to/file}

Count all characters in a file (taking multi-byte characters into account):

wc --chars {path/to/file}

Count all lines, words and bytes from `stdin`:

{find .} | wc

Count the length of the longest line in number of characters:

wc --max-line-length {path/to/file}


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Fri May 17 00:45:22 2024