Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 21:17:22 -0600
From:      Chris Moline <ugly-daemon@home.com>
To:        chat@freebsd.org
Subject:   Re: System Tuning/Sysadmins
Message-ID:  <20010617211722.A21674@h24-67-61-12.lb.shawcable.net>
In-Reply-To: <20010617184129.B84666@acidpit.org>; from rch@acidpit.org on Sun, Jun 17, 2001 at 06:41:29PM -0400
References:  <20010617063505.A29241@shell.monmouth.com> <20010617073505.B20171@h24-67-61-12.lb.shawcable.net> <20010617103922.A79022@acidpit.org> <20010617093905.A20349@h24-67-61-12.lb.shawcable.net> <20010617124444.A84138@acidpit.org> <20010617110702.A20700@h24-67-61-12.lb.shawcable.net> <20010617135150.A84666@acidpit.org> <p05100328b752a1592737@[194.78.241.123]> <20010617184129.B84666@acidpit.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 17, 2001 at 06:41:29PM -0400, Robert Hough wrote:
> I don't claim to be a scripting god, but I can usually make something
> work when I have to. Which was my point to begin with. I'd never attempt
> to replace 'ls' with my crappy script, but should I ever lose 'ls' I'll
> have something to fall back on. I actually have a little more feature
> filled 'showdir.sh' script, but it was a bit too long to post here. Now,
> if I could just get it to show permissions, and do some color! :)
If your shell cooperates you can use ansi escape sequences. In sh typing 
esc-[[31m will make the text blue or something like that. I am not sure what 
the specific color is but that's the idea. The hard part is figuring out how 
to get an escape in there. I think I used to have a way to show permissions 
with sh but I can't remember.

Chris Moline

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010617211722.A21674>