I saw the following substitution in this article:
${PWD/#$HOME/~}
How does it compare to this?
${PWD/$HOME/~}
Both seem to be the same. I don't know why the hash was included.
I saw the following substitution in this article:
How does it compare to this?
Both seem to be the same. I don't know why the hash was included. |
||||
|
|
|||
|