execline-state/load-state

13 lines
215 B
Plaintext
Raw Permalink Normal View History

2022-08-05 19:19:57 +00:00
#!/bin/execlineb
importas -ui name 1
importas -ui target 2
importas -i rdfd ELSTATE_${name}
fdswap 0 ${rdfd}
shift -n 2
elgetpositionals
forstdin -E -o 100 ${target} # chosen by fair dice roll
fdswap 0 ${rdfd}
$@