marking2/tails
changeset 162 6d25ccbb3cf2
equal deleted inserted replaced
161:6ea450e999e2 162:6d25ccbb3cf2
       
     1 #!/bin/sh
       
     2 ###set -e
       
     3 
       
     4 trap "exit" INT
       
     5 
       
     6 files=${1:-assignment20177-*}
       
     7 
       
     8 for sd in $files; do
       
     9   cd $sd
       
    10   #echo $sd
       
    11   tail -1 output
       
    12   cd ..
       
    13 done
       
    14 
       
    15