3 ms·
Particularly in this case, because `-v` sometimes means "print out the version number".
by frenchy 6y ago
Particularly in this case, because `-v` sometimes means "print out the version number".
- jfrunyon 6y agoThat's why they mentioned `grep -v`. Go look it up. It doesn't mean verbose OR version. Doubt you'd be printing out a version number in a shell script though.
- cogburnd02 6y agoYou may want to compare a version number of a command to make sure it's bigger than (or equal to) the minimum version required by your script, though.
- codazoda 6y ago>-v, --invert-match > Selected lines are those not matching any of the specified patterns. For the lazy. Edit: I don't know hackernews formatting and I'm among the lazy, so... Marked as "won't fix".