6 dialog
=$
(which dialog
);
9 echo $
(wc -c "$accounts/$1" | cut
-d ' ' -f 1) piv
13 "$dialog" --inputbox "New account name" 0 0 2>"$tmp"
14 [ $?
= 0 ] && touch "$accounts/$(cat "$tmp")";
18 $dialog --menu "$title servis" 0 0 0 new
"Novy stamgast" exit "Konec party" 2>"$tmp"
19 option
="$(cat "$tmp")"
32 echo -n > "$accounts/.totals"
33 ls -1 --group-directories-first "$accounts" |
while read i
; do
34 echo -n "$i"; echo -ne "\x00";
35 echo -n $
(beer_stat
"$i"); echo -ne "\x00"
36 echo -e "$i\t$(beer_stat "$i")" >> "$accounts/.totals"
37 done |
xargs -0 $dialog --menu "$title stamgasti" 0 0 0
44 stamgast
="$(cat "$tmp")"
45 echo == Cepuje stamgast
$stamgast, ukonci ctrl
+c
==
46 "$backend" |
tee -a "$accounts/$stamgast"
This page took 0.481652 seconds and 5 git commands to generate.