On 27/04/05, K. Shantanu <[EMAIL PROTECTED]> wrote:
> Here is another one. No need for sed and other forks.
> export PATH=${PATH:/path/to/remove:/}

Doesn't work...

[EMAIL PROTECTED] ~] echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
[EMAIL PROTECTED] ~] p=${PATH:/usr/kerberos/sbin:/}
-bash: p: /usr/kerberos/sbin: syntax error: operand expected (error
token is "/usr/kerberos/sbin")

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

Reply via email to