aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh/lib.sh')
-rw-r--r--init-sh/lib.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index f62faac..0b1f35c 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -87,6 +87,14 @@ CleanRules() {
echo "done."
}
+CleanRules2() {
+ echo -en "\t- Cleaning msec appended line in $1 : "
+
+ perl -ni -e '$_ eq "$ENV{COMMENT}\n" ... // or print' $1
+
+ echo "done."
+}
+
CommentUserRules() {
file=$1