- alexander@goblin /tmp $ cat ShowMesh.unv
- 2419
- 2420
- 2421
- alexander@goblin /tmp $ cat test.sh
- temp='2420'
- while read LINE
- do
- if [[ $LINE = $temp ]];
- then
- echo "True"
- else
- echo "False"
- fi
- done < ShowMesh.unv
- alexander@goblin /tmp $ sh test.sh
- False
- True
- False