Hacker News new | past | comments | ask | show | jobs | submit login

test is [



Indeed, "test" is exactly like "[" except that it doesn't check that its last argument is a "]".


For some reason I've always been amused by "which [". The idea of 'punctuation' being a command or a filename is something that threw me.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: