On 26/09/2018 10:55, Long Wind wrote:
sorry! you're right. after checking ls manual, i find ls has option -1
Note also that ls will behave like it has the "-1" option if its output is piped to another command, even without this option. I like to use the "-1" option even in this case because it is what I mean (counting entries one per line).
Kind regards, -- Ben Caradoc-Davies <b...@transient.nz> Director Transient Software Limited <https://transient.nz/> New Zealand