#!/bin/sh
while read line
do
echo $line
done < test2.sh
###################################
cat test2.sh | while read line
do
echo $line
done
##################################
for line in `cat test2.sh`
do
echo $line
done
linus shell读取文件
最新推荐文章于 2024-02-23 12:48:47 发布