Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




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

Search: