Octal file permissions in ls (original) (raw)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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
- Octal file permissions in ls,Sakse Dalum <=
- Re: Octal file permissions in ls, Eric Blake, 2013/03/18
* Re: Octal file permissions in ls, Bob Proulx, 2013/03/18
* Re: Octal file permissions in ls, Eric Blake, 2013/03/18
* Re: Octal file permissions in ls, Sakse Dalum, 2013/03/18 - Re: Octal file permissions in ls, Pádraig Brady, 2013/03/18
- Re: Octal file permissions in ls, Eric Blake, 2013/03/18
- Prev by Date:Re: Multithreaded sort hangs on Solaris
- Next by Date:Re: Octal file permissions in ls
- Previous by thread:[PATCH] cp: do not create empty dst file if failed to make reflink
- Next by thread:Re: Octal file permissions in ls
- Index(es):