1.从终端输入三个带后缀的文件名,将名字存储到file1中,将后缀存储到flie2中:例如: 终端输入 a.c b.txt c.sh--->要求将 a b c存储到file1中,c txt sh存储到file2中