birdc: using command output in scripts