collecting data, savin it into a file and rerun it again in bash script;

view story

http://askubuntu.com – Im new to bash and have written this script to collect data then save it to an automated file it runs fine till here but as i try to rerun the script to add another details it gives me errors. please cam you help !/bin/bash This program helps the user to collect contact details. clear options="Add_User End_session" echo "1. Add another user" echo "2. End session" echo -n "Enter Selection:" read selection echo "" select opt in $options; do if ["$opt" = "End Session" ]; then echo done exit elif ["opt" = "Add another user"]; then echo "Dear, user . This script will help you to (HowTos)