Re: How to use the 'ls' -M flag?

2023-05-28 Thread Michael Cheponis
Using RVP's recipes -- success! Thank you very much, and d'oh, of course it makes sense that the default C/POSIX locale is "" -- the most 'reasonable' default. p.s. yes, I used "ls -lM" not just the -M flag. You need -l otherwise -M by itself is a no-op. On Fri, May 26, 2023 at 11:50 PM

Re: How to use the 'ls' -M flag?

2023-05-27 Thread RVP
On Fri, 26 May 2023, Michael Cheponis wrote: I'm having no success trying to get ls to print file sizes, using the -M flag. The `thousands separator' char. is locale-specific. In the default C/POSIX locale, it is "": $ locale -c thousands_sep LC_NUMERIC $ LC_NUMERIC=C locale -c

How to use the 'ls' -M flag?

2023-05-27 Thread Michael Cheponis
I'm having no success trying to get ls to print file sizes, using the -M flag. -MModifies the -l and -s options, causing the sizes or block counts reported to be separated with commas (or a locale appropriate separator) resulting in a more readable output.