The `SciTE` binary is so named on FreeBSD, and I think NetBSD / pkgsrc
as well. Many commands are mixed case nowadays. Try running:
echo $PATH | sed 's/\:/ /g' | xargs ls | /usr/bin/grep [A-Z]
On some systems it's quite a lot of stuff, most notably X, and there are
even more mixed-case libraries, scripting modules, etc. When I used
SciTE, I liked being able to use tab auto-completion after typing just
one character, and I would create lower-case shell aliases or links
myself if I wanted to. This simple perl script would do it, assuming
that ~/bin was first in PATH:
perl -e 'for $Dir (split (/:/, $ENV{PATH})) { for (`ls $Dir`) { next if
(!/[A-Z]/); chomp; $New = lc($_); `ln -s $Dir/$_ ~/bin/$New`}}'
Doing this for the user seems like a very Linuxy thing to do. What's
next, conformity to 8 character command names? ;-)
---
>The odd casing of SciTE (some upper and some lower chars in the
>executable's name), could be made more intuitive if the port did this
>(or something similar) at the end:
>
>ln -s /usr/local/bin/SciTE /usr/local/bin/scite
>
>I'm glad that grep is not gReP ;)
>
>Brad
Best regards,
Alex Libman
--
http://www.fastmail.fm - Choose from over 50 domains or use your own