Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.63 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. RegEx in grep - bash picking up the string
  2. grep -R -l --exclude-dir=merchant --exclude-dir=newport (w*).execute("ATTACH DATABASE '/include/location.db' AS (w*)");  * | wc -l
  3.        
  4. -sh: syntax error near unexpected token `('
  5.        
  6. grep -R -l --exclude-dir=merchant --exclude-dir=newport '"(w*).execute("ATTACH DATABASE '/include/location.db' AS (w*)");'  *.esp
  7.        
  8. >
  9.        
  10. grep -R -l --exclude-dir=merchant --exclude-dir=newport '(w*).execute("ATTACH DATABASE '/include/location.db' AS (w*)");'  * | wc -l
  11.        
  12. grep -R -l --exclude-dir=merchant --exclude-dir=newport "(w*).execute("ATTACH DATABASE '/include/location.db' AS (w*)");"  * | wc -l