From owner-freebsd-questions Thu Dec 6 9:57:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp016.mail.yahoo.com (smtp016.mail.yahoo.com [216.136.174.113]) by hub.freebsd.org (Postfix) with SMTP id 60A2137B41C for ; Thu, 6 Dec 2001 09:57:22 -0800 (PST) Received: from ihws.com (HELO ?192.168.0.102?) (63.218.21.114) by smtp.mail.vip.sc5.yahoo.com with SMTP; 6 Dec 2001 17:57:21 -0000 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Thu, 06 Dec 2001 12:57:21 -0500 Subject: Re: Modifying only certain bits with chmod From: Frank Laszlo To: Anthony Atkielski , FreeBSD Questions Message-ID: In-Reply-To: <001601c17e7c$9a391040$0a00000a@atkielski.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG on 12/6/01 12:36 PM, Anthony Atkielski used the force from anthony@freebie.atkielski.com: > 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). > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message Anthony, Could you send this source to me, I would like to implement it myself. Thanks... Frank Laszlo, CEO Web Brain flaz@web-brain.net /-------------------------------------------------------\ | * Microsoft: "Where would you like to go to today?" | | * Linux: "Where would you like to go tomorrow?" | | * FreeBSD: "Hey, when are you guys going to catch up?" | \_______________________________________________________/ _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message