
Untitled
By: a guest on
May 8th, 2012 | syntax:
None | size: 0.63 KB | hits: 10 | expires: Never
RegEx in grep - bash picking up the string
grep -R -l --exclude-dir=merchant --exclude-dir=newport (w*).execute("ATTACH DATABASE '/include/location.db' AS (w*)"); * | wc -l
-sh: syntax error near unexpected token `('
grep -R -l --exclude-dir=merchant --exclude-dir=newport '"(w*).execute("ATTACH DATABASE '/include/location.db' AS (w*)");' *.esp
>
grep -R -l --exclude-dir=merchant --exclude-dir=newport '(w*).execute("ATTACH DATABASE '/include/location.db' AS (w*)");' * | wc -l
grep -R -l --exclude-dir=merchant --exclude-dir=newport "(w*).execute("ATTACH DATABASE '/include/location.db' AS (w*)");" * | wc -l