#!/bin/bash
/bin/stty intr ''
echo "newa"
echo "newb"
echo "newc"
echo "newd"
while read -p "input the repository name[input 'end' to exit] ?" repos
do
if [ "$repos" = "newa" ];then
echo "input newa"
continue
elif [ "$repos" = "newb" ];then
echo "input newb"
continue
elif [ "$repos" = "newc" ];then
echo "input newc"
continue
elif [ "$repos" = "newd" ];then
echo "input newd"
elif [ "$repos" = "end" ];then
echo "login out"
break
else
echo "no such repository"
fi
done
exit
阅读(1052) | 评论(0) | 转发(0) |