Skip to content

Commit

Permalink
while
Browse files Browse the repository at this point in the history
Signed-off-by: mm667937 <[email protected]>
  • Loading branch information
muzikovam committed Nov 4, 2024
1 parent 1253903 commit 0bb131c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pswi/ZWECONF_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ then
echo "There are some discrepancies between the example-zowe.yaml and the zowe.yaml created by ZWECONF.xml workflow."
echo "Please add or delete the workflow so everything is there."
echo "First line is from the example and the line bellow is from the workflow."
#TODO: while loop final_diff.txt and delete every line that doesn't start with '<' and redirect into final_final_diff.txt and do cat final_final_diff.txt
echo $concat
while read -r line; do
if [[ "$line" =~ ^\< ]]; then
echo $line >> final_final_diff.txt
fi
done <final_diff.txt
cat final_final_diff.txt
exit -1
fi

0 comments on commit 0bb131c

Please sign in to comment.