我試圖運行此正則表達式的grep中 - 慶典拿起串
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
但是,當我打回車鍵,然後進入這個:
>
指示我有公開報價。任何人都可以協助嗎?
感謝
你有一個流浪'「'在你的第二個例子 – 2012-01-12 04:12:06