#!/bin/bash # Author: Nils Gerstner pipe=$1 err_pipe=$2 echo "$$ The time is $(date)" >$pipe 2>$err_pipe edf "$$ The time is $(date)" >$pipe 2>$err_pipe ls |tail -n1 >$pipe 2>$err_pipe echo "$$ The time is $(date)" 2>$err_pipe echo "quit" >$pipe 2>$err_pipe