[Top][All Lists]

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

Wildcard expansion in $PATH

From: David Lechnyr
Subject: Wildcard expansion in $PATH
Date: Mon, 14 Feb 2005 08:15:38 -0800

It would be nice if one day BASH could recognize wildcards in the PATH statement. E.g.,

export PATH=/sbin:/usr/sbin:/usr/pkg/*/bin

While it may seem unnecessary to some, it is becoming a more frequently demanded feature. E.g., a new feature of the MANPATH variable as of man 1.5p is: "MANPATH items can now be set with an asterisk, which indicates that all possible dir-names are to be searched." Such a feature for BASH would be quite nifty :-)

If there is a patch for this, I'd appreciate anyone pointing me in the appropriate direction.

- David

reply via email to

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