[conspire] shellscipts
Ron
admin at bclug.ca
Wed Mar 12 00:47:00 PDT 2025
Michael Paoli wrote on 2025-03-11 18:57:
> $ more * | cat
> ::::::::::::::
> color
> ::::::::::::::
> orange
> green
> green
> orange
> ::::::::::::::
> fruit
> ::::::::::::::
> orange
> orange
> apple
> apple
> $
> If more has multiple file arguments, and its stdout isn't a tty
> device, it simply
> outputs the contents of the files, prepended by a header giving the file name.
Interesting!
Without the `cat`, it (`more`) prompts between files (i.e. "stdout isn't
a tty").
Finally a use case for `more`, first one since DOS / OS/2 days.
I don't know where I'd use this, but I like to have the knowledge stored
away should I have a use for it.
The whole message was informative; more like this please.
More information about the conspire
mailing list