#!/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 $@