X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Flevel-1;h=55786950be2c9aa3e1808838cf41c8b620bbbb0a;hb=63f2f45b88e84d2a8d414da0ae81ffe58fda7cb4;hp=49545ae10a057717a40fa0a9990e682b906005e2;hpb=4ea60be930c2d0350ca297f379fb273d2992ddd9;p=chaz%2Ftar diff --git a/scripts/level-1 b/scripts/level-1 index 49545ae..5578695 100644 --- a/scripts/level-1 +++ b/scripts/level-1 @@ -65,9 +65,10 @@ startdate="`date`" here="`pwd`" # Logfile name should be in the form ``log-1993-03-18-level-1'' +# They go in the subdirectory `log' of the current directory. # i.e. year-month-date. This format is useful for sorting by name, since # logfiles are intentionally kept online for future reference. -LOGFILE="log-`date | sed -ne ' +LOGFILE="log/log-`date | sed -ne ' s/[^ ]* *\([^ ]*\) *\([^ ]*\).* \([^ ]*\)$/\3-\1-\2/ /-[0-9]$/s/\([0-9]\)$/0\1/ /Jan/{s/Jan/01/p;q;}