It'll simply list all directories in PATH that do not (any more) exist.
perl -MFile::Spec -le "print for grep !-d, File::Spec->path"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Detect cruft in your $PATH
by moritz (Cardinal) on Aug 14, 2007 at 11:03 UTC | |
by Fletch (Bishop) on Aug 14, 2007 at 13:46 UTC |