pattern2.sh