Timeline for echo $’hi\nhi’ > /etc/list.list not working
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 6 at 0:34 | history | edited | Brian Redbeard | CC BY-SA 4.0 | fixing broken hyperlink |
| Feb 23, 2021 at 1:44 | history | edited | Brian Redbeard | CC BY-SA 4.0 | updated answer to incorporate note from @steeldriver and link to similar issue using awk. |
| Feb 22, 2021 at 19:18 | comment | added | markbunting | You hit the nail on the head. All I had to do was add the -e flag and remove the $ and everything else worked. Thanks! | |
| Feb 22, 2021 at 19:17 | vote | accept | markbunting | ||
| Feb 22, 2021 at 18:50 | comment | added | steeldriver | RE. points (2) and (3), I suspect the OP was attempting an ANSI quoted string $'hi\nhi' | |
| Feb 22, 2021 at 18:33 | history | answered | Brian Redbeard | CC BY-SA 4.0 |