Simon Willison's TILs personal blog
Escaping strings in Bash using !:q
TIL this trick, via Pascal Hirsch on Twitter. Enter a line of Bash starting with a # comment, then run !:q on the next line to see what that would be with proper Bash escaping applied.
- Points
- 482
- HN comments
- 81
- Submissions
- 1
- Cited by
- 0 commenters
Tools & ProductivitySoftware Engineering2020
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Oct 2, 2020 | Escaping strings in Bash using !:q by goranmoomin | 482 | 81 |