[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Octal file permissions in ls
From: |
Sakse Dalum |
Subject: |
Octal file permissions in ls |
Date: |
Mon, 18 Mar 2013 17:43:45 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
coreutils.patch
Description: Text Data