diff --git a/Changelog b/Changelog index b08bddc..1672af6 100644 --- a/Changelog +++ b/Changelog @@ -1,10 +1,12 @@ -2.9 2021 ??? ?? +2.9 2021 Apr 09 Fix for GRDIR by @micharu123 Improved C fruit rules Improved js fruit rules Started python fruit rules Updated documentation Fixed typo in dotnet rules (@0x10f2c) + Reformatted parts of graudit for readability + misc/onlyfiles.sh filescanning with only files matching globs 2.8 2020 Oct 30 Updated Electron rules diff --git a/graudit b/graudit index 297cbee..1870eeb 100755 --- a/graudit +++ b/graudit @@ -204,8 +204,9 @@ $BINFILE --color=$color \ $excludefiles \ $icase $ignorepattern \ -n -R -H -C "$context" -E \ - -f "$database" "$@" \ - | sed -e"s/$(printf '\r')//g" -e"s/^\(\x1b\[.*m\x1b\[K\)--\(\x1b\[.*\x1b\[K\)$/\1##############################################\2/" -e"s/^--$/$separator/" | sed -e"$vimlines" -e"$zimlines" + -f "$database" $@ | \ +sed -e"s/$(printf '\r')//g" -e"s/^\(\x1b\[.*m\x1b\[K\)--\(\x1b\[.*\x1b\[K\)$/\1##############################################\2/" -e"s/^--$/$separator/" | \ +sed -e"$vimlines" -e"$zimlines" SUCCESS=$? export GREP_COLORS="$OLD_COLORS" exit $SUCCESS