s4

changeset 218:849e6dee3485

Rewind it to use $2 instead of "serial" (getval())
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 13 Jun 2016 08:36:49 +0859
parents 567cf06fd4d7
children e2dea2f63a69
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-funcs.sh	Mon Jun 13 00:42:00 2016 +0859
     1.2 +++ b/s4-funcs.sh	Mon Jun 13 08:36:49 2016 +0859
     1.3 @@ -531,7 +531,7 @@
     1.4      stamp|datetime)
     1.5        date "+%F %T" ;;
     1.6      serial)
     1.7 -      (s=`getpar serial`
     1.8 +      (s=`getpar $2`
     1.9         if [ -n "$s" ]; then echo $s; else echo "`date +%s`x$$"; fi) ;;
    1.10      *)
    1.11        getpar "$2" "$3";;