#!/bin/sh

echo "start: $0" > /tmp/test.log

#trap 'got_signal' 2

#got_signal()
#{
#  echo "Caught SIGINT ..." >> /tmp/test.log
#}


for var in $*
do
	echo "$var" >> /tmp/test.log
done

while true
 do
     read bla
     echo "bla: $bla" >> /tmp/test.log
 done
 