execline-state/nuke-state

13 lines
173 B
Text
Raw Permalink Normal View History

2022-08-05 20:36:46 +00:00
#!/bin/execlineb
importas -ui name 1
importas -ui rdfd ELSTATE_${name}
backtick -E wrfd { s6-expr "$rdfd" + 1 }
fdclose ${rdfd}
fdclose ${wrfd}
shift
elgetpositionals
$@