Hi there,
I recently found myself wanting ls to show file permissions in octal format, so
I decided to implement the feature. Being somewhat unfamiliar with C coding and
C coding standards in particular, I've hunched my way through the implementation
method, but seeing that it's only a few lines of code, it shouldn't break
anything as far as I can see.
Anywho, I've attached a diff to this mail, which may or may not be applicable to
the most recent version (I just did an apt-get source in Trisquel 6.0 to get the
source for coreutils).
Cheers,
Sakse Dalum