4 ms·
I didn't know about the $(...) syntax. I've needed this, and resorted to a script, thinking it couldn't be done in a one-liner. $(command) allows them to be ne
by 10ren 17y ago
I didn't know about the $(...) syntax. I've needed this, and resorted to a script, thinking it couldn't be done in a one-liner.
$(command) allows them to be nested arbitrarily, whereas `command` can't nest.
- calcnerd256 17y agoI thought you could escape backticks
- 10ren 17y agoYou're right, that works too. Now I've learnt two things.