Bash Script Using A Counterexample