Timeline for dollar sign inside eval string in bash
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 22, 2020 at 0:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Feb 21, 2020 at 23:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Dec 12, 2018 at 8:21 | history | edited | ilkkachu | CC BY-SA 4.0 |
added 4 characters in body
|
| Dec 12, 2018 at 8:02 | answer | added | Kusalananda♦ | timeline score: 1 | |
| Dec 12, 2018 at 7:51 | comment | added | Kusalananda♦ |
Note that PWD is a variable that already contains the current working directory.
|
|
| Dec 11, 2018 at 18:58 | comment | added | BazukaJoe | Yes, that's it....the x2="\\$" fixed the issue, thanks ! | |
| Dec 11, 2018 at 18:48 | history | edited | G-Man Says 'Reinstate Monica' | CC BY-SA 4.0 |
Fixed formatting; improved punctuation; added tag.
|
| Dec 11, 2018 at 18:46 | comment | added | steeldriver |
Are you sure the problem isn't the assignment x2="\$"? Try x2="\\$" or x2='\$' if you want to preserve the literal value of the backslash
|
|
| Dec 11, 2018 at 18:44 | history | edited | steeldriver | CC BY-SA 4.0 |
Are you sure the problem isn't just the assignment `x2="\$"`? Try `x2="\\$"` or `x2="\$
|
| Dec 11, 2018 at 18:40 | review | First posts | |||
| Dec 11, 2018 at 18:48 | |||||
| Dec 11, 2018 at 18:37 | history | asked | BazukaJoe | CC BY-SA 4.0 |