Skip to main content
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

Expanding on don_crisstidon_crissti's commentcomment, the * operator in a regular expression needs an operand; in your case, . which stands for "any character":

grep -E -rnw ".*BCR.*" ~/Dropbox 

You can get the same result without using a regular expression:

grep -rn BCR ~/Dropbox 

Expanding on don_crissti's comment, the * operator in a regular expression needs an operand; in your case, . which stands for "any character":

grep -E -rnw ".*BCR.*" ~/Dropbox 

You can get the same result without using a regular expression:

grep -rn BCR ~/Dropbox 

Expanding on don_crissti's comment, the * operator in a regular expression needs an operand; in your case, . which stands for "any character":

grep -E -rnw ".*BCR.*" ~/Dropbox 

You can get the same result without using a regular expression:

grep -rn BCR ~/Dropbox 
It's "BCR"...
Source Link
Stephen Kitt
  • 482.8k
  • 60
  • 1.2k
  • 1.4k

Expanding on don_crissti's comment, the * operator in a regular expression needs an operand; in your case, . which stands for "any character":

grep -E -rnw ".*BCW*BCR.*" ~/Dropbox 

You can get the same result without using a regular expression:

grep -rn BCWBCR ~/Dropbox 

Expanding on don_crissti's comment, the * operator in a regular expression needs an operand; in your case, . which stands for "any character":

grep -E -rnw ".*BCW.*" ~/Dropbox 

You can get the same result without using a regular expression:

grep -rn BCW ~/Dropbox 

Expanding on don_crissti's comment, the * operator in a regular expression needs an operand; in your case, . which stands for "any character":

grep -E -rnw ".*BCR.*" ~/Dropbox 

You can get the same result without using a regular expression:

grep -rn BCR ~/Dropbox 
Source Link
Stephen Kitt
  • 482.8k
  • 60
  • 1.2k
  • 1.4k

Expanding on don_crissti's comment, the * operator in a regular expression needs an operand; in your case, . which stands for "any character":

grep -E -rnw ".*BCW.*" ~/Dropbox 

You can get the same result without using a regular expression:

grep -rn BCW ~/Dropbox