Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pyentropy
on March 8, 2023
|
parent
|
context
|
favorite
| on:
What was the point of [ “x$var” = “xval” ]? (2021)
Wait... zsh which is quite a powerful shell that's now by default on macOS too, would say "(" is equal to ")" until 2016?
Was it just single [ (test) or [[ as well?
adql
on March 8, 2023
[–]
Wouldn't be surprised if it was just backward compatibility so bash/sh scripts work
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Was it just single [ (test) or [[ as well?