multiline grep

This commit is contained in:
ineed bots 2023-12-20 17:34:30 -06:00
parent d2bc8d3fdc
commit 0c743d3a99

View File

@ -15,7 +15,7 @@
}
// use below to verify no single line blocks with no braces
// $ egrep -ron "^\s*(if|while|for|switch).*\)\s*[\r\n]+\s*[^\s{]" --include \*.gsc ./
// /^\s*(if|while|for|switch|else) .*\s*[\r\n]+\s*[^\s{]/gm
// use below to verify array indexing spacing style
// $ egrep -ron "(\[\S|\S\])" --include \*.gsc ./ | egrep -v "\[\[" | egrep -v "\]\]" | egrep -v "\[\]"