merge: work
This commit is contained in:
parent
c2fc0f6955
commit
40b432676c
21 changed files with 1158 additions and 73 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
set -e
|
||||
shopt -s extglob nullglob
|
||||
|
||||
|
@ -17,11 +17,11 @@ CUR="$(cat "$CUR_FILE" || echo 50)"
|
|||
set -e
|
||||
|
||||
case "${1:0:1}" in
|
||||
"")
|
||||
'')
|
||||
exit 1
|
||||
;;
|
||||
"+"|"-")
|
||||
NEW="$((CUR + $1))"
|
||||
'+'|'-')
|
||||
NEW="$((CUR + "$1"))"
|
||||
;;
|
||||
*)
|
||||
NEW="$1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue