Timeline for Why is echo "\*" the same as echo "\\*"
Current License: CC BY-SA 4.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 11, 2023 at 11:13 | answer | added | Sophia Koulen | timeline score: 0 | |
| Feb 9, 2023 at 1:33 | comment | added | Christopher Lee | @muru Everywhere I look, it is said that \ retains its special meaning in double quotes. I must be missing something. | |
| Feb 8, 2023 at 16:41 | comment | added | Christopher Lee | @roaima \\ becomes \, and \z becomes z. | |
| Feb 8, 2023 at 9:33 | answer | added | konsolebox | timeline score: 1 | |
| Feb 8, 2023 at 9:00 | comment | added | Chris Davies | What about Why does the command echo echo \\\z output \z? | |
| Feb 8, 2023 at 8:56 | comment | added | Chris Davies | What are the $ symbols on the front of echo? If they're a prompt then your shell won't see that - it printed it for you | |
| Feb 8, 2023 at 8:44 | comment | added | muru | It says that \ is removed only if it was unquoted. In this case it is quoted, so it won't be removed. | |
| Feb 8, 2023 at 8:36 | comment | added | Christopher Lee | @muru I have read this. I still don't understand why the \ does not disappear, escaping the *. | |
| Feb 8, 2023 at 8:12 | comment | added | muru | gnu.org/software/bash/manual/bash.html#Quote-Removal | |
| Feb 8, 2023 at 8:11 | history | edited | muru | CC BY-SA 4.0 | added 2 characters in body |
| S Feb 8, 2023 at 7:46 | review | First questions | |||
| Feb 8, 2023 at 9:05 | |||||
| S Feb 8, 2023 at 7:46 | history | asked | Christopher Lee | CC BY-SA 4.0 |