#!/bin/sh while read line do echo "$line" echo "$line" | ./of echo done < tests