On 26/04/05, anuraag chowdhry <[EMAIL PROTECTED]> wrote: > does anybody know how can we remove one of the > existing directories from the PATH .?
The "standard" solution is: PATH=$( echo $PATH | sed -e 's,/path/to/remove,,g' -e 's,^:,,' -e 's,:$,,' -e 's,::,:,g' ); export PATH Binand ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id5hix _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help
