> Would it be better with using "cut"?
> 
>     case "$ELEMENT" in
>      "~"/*) ELEMENT="$HOME"`echo "$ELEMENT" | cut -c2-` ;;
>     esac
> 
> Of course, it won't work in cases like "~tim/bin" but it is better than
> nothing...
> 
> (sorry for the delay, I never received your answer)

No, I believe that a literal ~ in PATH should mean a literal ~; your
patch breaks that.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to