From 8afd703427d86fdb7ef6e3046a4075d99366fac0 Mon Sep 17 00:00:00 2001 From: St33v Date: Mon, 2 Feb 2026 11:10:05 +1100 Subject: commit very old files --- super.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'super.sh') diff --git a/super.sh b/super.sh index 325f86d..36e02c6 100755 --- a/super.sh +++ b/super.sh @@ -15,8 +15,11 @@ if [ -z $1 ] exit 1 fi -echo $theDate,$1 >> $logFile -#printf '%s,%s\n' $theDate ,$1 >> $logFile +if [ $1 != "tail" ] + then + echo $theDate,$1 >> $logFile + #printf '%s,%s\n' $theDate ,$1 >> $logFile +fi # Note: double quote expression to preserve carriage returns (thanks, stackoverflow) echo "$(tail ${logFile})" -- cgit v1.3