execline-state/save-state
2022-08-05 21:19:57 +02:00

15 lines
217 B
Text
Executable file

#!/bin/execlineb
importas -ui name 1
importas -ui value 2
importas -i rdfd ELSTATE_${name}
backtick -E wrfd { s6-expr "$rdfd" + 1 }
foreground {
fdmove -c 1 ${wrfd}
echo "$value"
}
shift -n 2
elgetpositionals
$@