From 4d1715acdb11c105c8d33975711e94e35e7e04eb Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 19 Dec 1999 22:39:58 +0000 Subject: *** empty log message *** --- ChangeLog | 3 ++- init-sh/lib.sh | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fd0423a..cd9fe15 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ 1999-12-19 Pixel * init-sh/lib.sh: removed the failsafe for not a tty stdin (not efficient) - + * init-sh/lib.sh: rewrote the perl script (now a one-liner :) + 1999-12-19 Yoann Vandoorselaere * Big cleanup. * All work properly now. 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 -- cgit v1.2.1