bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hey Chet


From: cLIeNUX user
Subject: Hey Chet
Date: Fri, 16 Feb 2001 07:15:40 -0000

I have some tweaks of Bash that I use that I find very useful, that might
want to be implemented by someone that actually comprehends the code. The
cLIeNUX Bash has "implicit cd". If my Bash gets a directory name when it
expects a command, it cd's to it. This saves a LOT of typing. I'm told
DrDos and AmigaDos had similar stuff. I ain't never seen no POSIX, but if
it's well written the situation implicit cd acts on is an "undefined" and
not explicitly an error. 

I have also changed "help" to "shelp" so that "help" can be a distro-wide
help utility. The shell should be somewhat liberal about it's lock on the
user's attention, IMO. In the cLIeNUX shelp screen there's also a note
about scrolling the vt up to see all the shelp.

A FAQ I see on IRC (a couple times in 40 hours or so in EFnet #linux) that
there's no real answer to is "how do I tell what distro I'm on?". Bash
could take a leading role there with a DISTRO variable. Most distro
integrators could use the hint I think, and not just Linux. 

My stuff is in ftp://linux01.gwdg.de/pub/cLIeNUX/GPL_required (from
wetware memory), but the implicit cd thing has a bug or two. It seems to
have broken ctrl&l screen-refresh at the prompt, hence the remark about
"actually comprehends the code". That's still worth it to me, and I
haven't noticed anything else out of whack.

Things I haven't used or done, but that might be useful, is something that
allows finding paths.h and a shell version of it. Also, I don't see why a
unix shell still refuses to offer counted loops as such, given that we
have "let" and real integers and so on. 

Rick Hohensee
www.clienux.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]