The reason your regexp was failing was the existence of too many forward slashes. Either use a different delimeter, or escape your forward slashes in your pattern:
grep m|c:/apps/c\+\+/application| => 'c:/apps/c++/application/myfile.cpp'; grep /c:\/apps\/c\+\+\/application/ => 'c:/apps/c++/application/myfile.cpp';
In reply to Re: using grep with multiple "+"
by qumsieh
in thread using grep with multiple "+"
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |