From 4e4ff33f09c4d992c26acdd9a57bcc4d76ef6115 Mon Sep 17 00:00:00 2001 From: Wireghoul Date: Fri, 9 Apr 2021 12:13:04 +1000 Subject: [PATCH] Version 2.9rc --- Changelog | 4 +++- graudit | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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