Created
July 31, 2018 18:24
-
-
Save jacoby/80a6ecf63395a2366f7e0902d7278060 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ $should_ignore ] ; then BLOCK ; fi | |
is consistently accepting 0 as true. | |
WTF? FFS! FTW! | |
I do not understand if this is behavior I should accept or count as a bug. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## INSIDE A FOR LOOP | |
echo $run_name | |
echo $should_ignore | |
if [ $should_ignore ] # Generally 'MyRun' | |
then | |
echo $run_name | |
unaligned_status=99 | |
unaligned="$run_name is to be ignored due to MyRun" | |
fi | |
if [ -e $RTAComplete_fn ] | |
then | |
rrr=`ls -l $RTAComplete_fn | cut -f 6-8 -d ' '` | |
rta="$run_name is RTA/Copy complete ($RTAComplete_fn) as of $rrr" | |
unaligned_status=1 | |
fi | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run00697 | |
0 | |
run00697 | |
'RTAComplete.txt' 'Jul 19 10:27' 'run00697 is RTA/Copy complete (RTAComplete.txt) as of Jul 19 10:27' '1' | |
run00698 | |
0 | |
run00698 | |
'RTAComplete.txt' 'Jul 21 07:00' 'run00698 is RTA/Copy complete (RTAComplete.txt) as of Jul 21 07:00' '1' | |
run00699 | |
0 | |
run00699 | |
'RTAComplete.txt' 'Jul 21 07:00' '' '99' | |
run00695 | |
0 | |
run00695 | |
'CopyComplete.txt' 'Jul 10 07:50' 'run00695 is RTA/Copy complete (CopyComplete.txt) as of Jul 10 07:50' '1' | |
run00696 | |
0 | |
run00696 | |
'RTAComplete.txt' 'Jul 14 07:37' 'run00696 is RTA/Copy complete (RTAComplete.txt) as of Jul 14 07:37' '1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment