[X-Unix] Hiding apps from the command line
Kirk McElhearn
kirklists at wanadoo.fr
Fri Mar 26 09:31:36 PST 2004
On 3/26/04 6:29 PM, "Stroller" <MacMonster at myrealbox.com> wrote:
> I think that as soon as you start adding flags & multiple options to
> scripts, they're no longer "simple". Basically, I think that doing so
> is asking for trouble - although it might be a great learning
> experience, you may find that the script grows disproportionally with
> each option you add. What about hiding 2 apps..? What about hiding all
> but 2..? What if (as I mentioned in another posting) one of those apps
> has a filename beginning with "-"..?
It's true that it could be simpler to write a series of scripts, each doing
an individual function, but the result so far of this hide script is quite
interesting, and offers the kind of options a "real" command does.
Kirk
My latest book: How to Do Everything with Mac OS X Panther
http://www.mcelhearn.com/htde.html
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . kirk at mcelhearn.com | http://www.mcelhearn.com . . . . . .
. . Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France . .
More information about the X-Unix
mailing list