It's a common bash idiom, basically a ternary operator:

```
[[ condition ]] && (do this stuff if true) || (do this stuff if false)
```

I can easily rewrite this as an if else block if you like though.

Basically is the OS if 'Darwin' (ie. Mac OSX) then the inplace modifier is `i ""` otherwise it will be just `-i`.