3 ms·
> But is it doing one thing, and doing it well, to use `cat – concatenate and print files` to open a file? Yes, it 'prints' the file to stdout which is consume
by hagbard_c 11mo ago
> But is it doing one thing, and doing it well, to use `cat – concatenate and print files` to open a file?
Yes, it 'prints' the file to stdout which is consumed by the pipe and turned into the input for the next command in the pipeline. It doesn't matter whether you're only 'printing' a single file or a bunch of them.
- windward 11mo agoAnd it numbers empty lines (-b) and non-empty lines (-n) and the end of lines (-E) and elides empty lines (-s) and search-and-replaces tabs (-T) and nonprinting characters (-v)
- deleted 11mo ago[deleted]