dbn.lists at gmail.com
Thu Nov 17 11:18:29 PST 2005
On 11/17/05, Tushar Teredesai <sukucorp at gmail.com> wrote:
> > Tushar Teredesai wrote:
> > >
> > > type -p has problems if the command is aliased to something.
> I think so. I have many executables aliased so as to add my favorite
> options by default.
> Getting back to your suggestion, using "type -P" instead of "type -ap
> | head -n 1" is shorter alternative (as long as the script says
Good call. type -P doesn't fly on my old bash (1.14), but that
probably doesn't matter. Otherwise, a worthy substitution IMO.
More information about the blfs-dev