* Binand Sethumadhavan <[EMAIL PROTECTED]> [050427 03:01]:
> > export PATH=${PATH:/path/to/remove:/}
>
> Doesn't work...
[...]
Sorry a small typo. Giving an example below.
$ echo $PATH
/usr/kerberos/bin:/usr/lib/courier-imap/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/shantanu/bin
$ p=${PATH/\/usr\/lib\/courier-imap\/bin:/}
$ echo $p
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/shantanu/bin
Ok?
Shantanu
--
-------------------------------------------------------
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?id=105hix
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help