The formatting character %s makes stat print the filesize in bytes
# stat -c'%A %h %U %G %s %n' /bin/foo
-rw-r--r-- 1 root root 45112 /bin/foo 
ls can be configured to print the byte size number with "thousand-separator", i.e. 45,112 instead of the usual 45112.
# BLOCK_SIZE="'1" ls -lA 
-rw-r--r-- 1 root root 45,112 Nov 15  2014
Can I format the output of stat similarly, so that the file size has thousand-separator?
The reason why I am using stat in the first place is, I need to output like ls, but without time, therefore -c'%A %h %U %G %s %n'.
Or is there some other way to print the ls-like output without the time?
