#! /usr/bin/env dash # shellcheck disable=SC2086 # shellcheck source=/dev/null . %SHELL_LIBRARY_PATH file=$HOME/hi tmp=$(mktemp) file2=$HOME/hi2 tmp2=$(mktemp) cat $file | awk -F "," '{ for (i = 1; i <= 100; i++) { if ($i == 0) { } else { print $i } } }' | clean > $tmp cat $file2 | awk -F "," '{ for (i = 1; i <= 100; i++) { if ($i == 0) { } else { print $i } } }' | clean > $tmp2 diff -y $tmp $tmp2 rm $tmp if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi