diff options
| author | St33v <github@f3rr3t.com> | 2026-02-02 11:10:05 +1100 |
|---|---|---|
| committer | St33v <github@f3rr3t.com> | 2026-02-02 11:10:05 +1100 |
| commit | 8afd703427d86fdb7ef6e3046a4075d99366fac0 (patch) | |
| tree | 2087377f2bf3ae827792a5d305ab9ae8dc94f570 /super.sh | |
| parent | a816f25bd534792ba60cbe9650a5b47a015bcede (diff) | |
commit very old files
Diffstat (limited to 'super.sh')
| -rwxr-xr-x | super.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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})" |
