fork download
  1. #!/bin/bash
  2. grep -oP '\b(?!(?:word1|word2)\b)\w+' <<< "Extract all words but word1 and word2."
Success #stdin #stdout 0s 4312KB
stdin
Standard input is empty
stdout
Extract
all
words
but
and