3
cho-uc
43d

Ok, can someone explain to me why the old-Unix overlords decided to use -v in 'grep -v' as flag to invert the result.
It's not fucking intuitive.

Other normal utils will use -v as abbreviation of --verbose or --volume ...
I spent some time digging around this particular script scratching my heads why it's not working.
🤔

Comments
  • 4
    to be honest, what purpose would "verbose" or "volume" have for grep.

    and though "v" for "inVert-match" isn't that intuitive, it's still somewhat understandable, especially with "i" already being taken
  • 4
    --version too

    invert does have vert

    lotta Linux commands all weird. back when people had freedom and creativity I guess
  • 1
    -v --version

    -v --verbose

    -vv

    -vvv

    -r

    -R
Add Comment