Ignore:
Timestamp:
Apr 16, 2008, 12:09:47 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Various cosmetic changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • research/2008-displacement/study-5.sh

    r2278 r2279  
    2121
    2222touch "$OUTPUT"
    23 find $1 -name '?????????????.???' | while read i; do
    24     TMP="$(./main -5 $i)"
    25     echo "$TMP" >> "$OUTPUT"
    26     echo "$TMP"
     23find $1 -type f | while read i; do
     24    J="$(basename "$i")"
     25    if grep -q "$J" "$OUTPUT"; then
     26        continue
     27    fi
     28    if TMP="$(./main -5 $i)"; then
     29        echo "$TMP" >> "$OUTPUT"
     30        echo "$TMP"
     31    else
     32        echo "@@@ FAILURE on $i @@@"
     33    fi
    2734done
    2835
Note: See TracChangeset for help on using the changeset viewer.