commit bash-20161111 snapshot

This commit is contained in:
Chet Ramey
2016-11-14 13:46:09 -05:00
parent 78a3f8a4ba
commit 216e2e9b8b
51 changed files with 1885 additions and 2255 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ SECS=1275250155
export TZ=EST5EDT
case $SHELLSTART in
*s*) SHELLSTART=$(perl -e 'print time') ; DATESECS=false ;; # take a shot
*s*) SHELLSTART=$EPOCHSECONDS ; DATESECS=false ;; # take a shot
*) DATESECS=true ;;
esac
@@ -15,7 +15,7 @@ printf "%(abde)Z\n" -1
printf "%(%e-%b-%Y %T)T\n" $SECS
printf -v v1 "%(%e-%b-%Y %T)T\n" $( $DATESECS && date +%s || perl -e 'print time')
printf -v v1 "%(%e-%b-%Y %T)T\n" $( $DATESECS && date +%s || echo $EPOCHSECONDS )
printf -v v2 "%(%e-%b-%Y %T)T\n" -1
case $v1 in