#!/bin/sh echo $* >/tmp/cat.log #!/bin/sh OPTIONS= while [ $# != 0 ] do case $1 in --*) OPTIONS="$OPTIONS $1 $2" shift; shift; ;; *) break esac done echo fichier $1 >>/tmp/cat.log cat $1