shell script to exhibit the problem