Follow-up Comment #6, bug #65804 (group findutils):

[comment #5 comment #5:]

> Wasn't aware that "~/bin" is not posix conform... it was just shorter :)

It's the quoting that's the problem. In a POSIX-conforming shell you can use ~
in PATH assignments, as long as you don't quote it. Then the shell assigns the
expanded value to PATH.

$ PATH="/bin:~/bin"; echo "$PATH"
/bin:~/bin
$ PATH=/bin:~/bin; echo "$PATH"
/bin:/home/geoff/bin



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65804>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to