Skip to main content
deleted 97 characters in body
Source Link
Gilles Quénot
  • 36.8k
  • 7
  • 76
  • 97

Yes, as mentioned by @Kusalananda , the quotes are mandatory:

$ dpkg -l |  grep "$(apt-cache rdepends hunspell-fr | grep -oP '\s+\K')" # ^  sed -e 's/^\s*|\?//' -e 1s/^ /\'/g -e \$s/$/\'/  )" 

Yes, as mentioned by @Kusalananda , the quotes are mandatory:

$ dpkg -l | grep "$(apt-cache rdepends hunspell-fr | grep -oP '\s+\K')" # ^  ^  

Yes, as mentioned by @Kusalananda , the quotes are mandatory:

$ dpkg -l |  grep "$(apt-cache rdepends hunspell-fr | sed -e 's/^\s*|\?//' -e 1s/^/\'/g -e \$s/$/\'/  )" 
Source Link
Gilles Quénot
  • 36.8k
  • 7
  • 76
  • 97

Yes, as mentioned by @Kusalananda , the quotes are mandatory:

$ dpkg -l | grep "$(apt-cache rdepends hunspell-fr | grep -oP '\s+\K')" # ^ ^