shell script for item in list