if [ $# -ge 1 ];then
for each in $@
do
if [ -f $each ];then
sed -i '/^$/d' $each
else
echo "rmnone:no such file $each"
fi
done
else
echo "rmnone:no input file"
exit
fi
删除空行
最新推荐文章于 2024-01-17 22:43:19 发布