#!/bin/bash echo "Saving document image to tmp.png" echo "" ./dapiclient2.pl > tmp.png