Re: Color-ls package nearly ready for release, but I need...
> > (1) Can someone give me the proper syntax for making a symolic link
> > for a command with options: specifically, i need to link the
> > expression vdir to 'ls -li' because the color-ls patch consolidates
> > dir, vdir, and ls into one binary. I tried ln -s 'ls -li' vdir,
> > but did not get the desired effect.
>
> Wouldn't it be easier to put an alias into /etc/profile?
If vdir should act like "ls -li" then there should be a
if (!strcpm(argv[0],"vdir")) {
opt_l++; opt_i++
}
in the mein procedure, thats the usual way to handle special functions
depending on the program name. This is how ls works.
Greetings
Bernd
--
(OO) -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
( .. ) ecki@lina.{inka.de,ka.sub.org} http://home.pages.de/~eckes/
o--o *plush* 2048/93600EFD eckes@irc +4972573817 *plush*
(O____O) If privacy is outlawed only Outlaws have privacy
Reply to: