"Fossies" - the Fresh Open Source Software Archive

Member "ldc-1.9.0-src/tests/d2/dmd-testsuite/runnable/extra-files/a20-postscript.sh" (30 Apr 2018, 569 Bytes) of package /linux/misc/ldc-1.9.0-src.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/usr/bin/env bash
    2 
    3 # trim off the last line which contains the path of the file which differs between windows and non-windows
    4 LINE_COUNT_MINUS_1=$(( `wc -l < ${RESULTS_DIR}/runnable/runnable-a20.lst` - 1 ))
    5 head -n${LINE_COUNT_MINUS_1} ${RESULTS_DIR}/runnable/runnable-a20.lst > ${RESULTS_DIR}/runnable/runnable-a20.lst2
    6 
    7 diff --strip-trailing-cr runnable/extra-files/runnable-a20.lst ${RESULTS_DIR}/runnable/runnable-a20.lst2
    8 if [ $? -ne 0 ]; then
    9     exit 1;
   10 fi
   11 
   12 rm ${RESULTS_DIR}/runnable/runnable-a20.lst{,2}
   13 rm ${RESULTS_DIR}/runnable/runnable-imports-a20a.lst
   14