#!/bin/bash

trap "rm /tmp/temporary.$$; exit 1" 1 2 3 15

while :
do
  date >> /tmp/temporary.$$
  sleep 1
done
