#===============#!/bin/sh
fname=”$1″
exec<$fname
regex=’^([a-z]{1,1})([a|e|i|o|u]{1,1})([a-z]{1,4})\.com(.+)’
while read line
do
if [[ "$line" =~ $regex ]];then
echo $line
fidone
#================这个shell脚本,是判断之后打印出来,但是我在vps linux系统中使用命令怎么 把结果以文本形式保存下来,希望具体给出答案 本人小白