Vidar Holen personal blog
What was the point of [ “x$var” = “xval” ]?
In shell scripting you sometimes come across comparisons where each value is prefixed with "x". Here are some examples from GitHub:
- Points
- 414
- HN comments
- 437
- Submissions
- 3
- Cited by
- 0 commenters
Software EngineeringProgramming Languages2021
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Apr 12, 2021 | What was the point of [ “x$var” = “xval” ]? by JNRowe | 414 | 227 |
| Mar 4, 2023 | What was the point of [ “x$var” = “xval” ]? (2021) by pabs3 | 257 | 161 |
| Sep 28, 2024 | What was the point of [ "x$var" = "xval" ]? (2021) by fanf2 | 82 | 49 |