DEV Community

Discussion on: What's that piece of code that you have to Google *every time*?

ferdnyc profile image
Frank Dana

The simplest/stupidest? Bash operator precedence. I have to check Every. Time. But only because it's so weird and stupid! Whoever did this is a sociopath:

Of these list operators, && and || have equal precedence, followed by ; and &, which have equal precedence.