fix scan_printf script in linux bash
parent
74c406dd26
commit
1520aff680
|
@ -1,14 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
PATHS="include code"
|
|
||||||
FILTER_INCLUDE='\*.{c,cpp,h}'
|
|
||||||
FILTER_EXCLUDE="{include/assimp/Compiler/pstdint.h,code/AssetLib/M3D/m3d.h}"
|
|
||||||
|
|
||||||
PATTERN='^\s*printf'
|
|
||||||
|
|
||||||
grep \
|
grep \
|
||||||
--include=\*.{c,cpp,h} \
|
--include=\*.{c,cpp,h} \
|
||||||
--exclude={include/assimp/Compiler/pstdint.h,code/AssetLib/M3D/m3d.h} \
|
--exclude={pstdint,m3d}.h \
|
||||||
-rnw include code \
|
-rnw include code \
|
||||||
-e '^\s*printf'
|
-e '^\s*printf'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue