shithub: regress

ref: e66ee6b0e0cfebb6b9340c9fa9087aebac77cc9d
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
	}
}