#!/bin/bash program_out=$(./program) echo $program_out