Date: Thu, 6 Dec 2001 20:08:48 +0100 From: Roman Neuhauser <neuhauser@mobil.cz> To: Anthony Atkielski <anthony@freebie.atkielski.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Modifying only certain bits with chmod Message-ID: <20011206200848.A12197@roman.mobil.cz> In-Reply-To: <001601c17e7c$9a391040$0a00000a@atkielski.com> References: <001601c17e7c$9a391040$0a00000a@atkielski.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> From: "Anthony Atkielski" <anthony@freebie.atkielski.com> > To: "FreeBSD Questions" <freebsd-questions@freebsd.org> > Subject: Re: Modifying only certain bits with chmod > Date: Thu, 6 Dec 2001 18:36:56 +0100 > > Roman writes: > > > I'm not that old, have been using FreeBSD for a couple of months > > only, and yet I terribly miss an option that would make ls(1) > > display perms in octal. > > Done. Shall I send you the modified source? I added a -p option (one of > the few letters available!) which prints the file modes in octal instead of > as the usual -rw-r--r-- strings if you also specify the long format for > output (-l). I've not exhaustively tested it but it seems to work okay > (it's a simple change). I prefer unified diffs (diff -u), but anything will do. And thanks! -- FreeBSD 4.4-STABLE 8:07PM up 44 days, 6:50, 11 users, load averages: 0.93, 0.49, 0.24 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011206200848.A12197>