shithub: regress

ref: f76209e01bf9954bd50a84caa02c8883cab1e04a
dir: /cmd/util.rc/

View raw version
fn q {
	{$* > /tmp/out.$pid && rm /tmp/out.$pid} || cat /tmp/out
}
fn qq {
	$* >/dev/null >[2]/dev/null
}

fn die {
	st=$status
	if(! ~ $st ''){
		echo $* : $st
		exit $* : $st
	}
}