我试图使用shell脚本将文件中的句子分割成不同的行。
现在我想把绳子分开!?或者。。输出应该如下:
我想从my_text.txt读取并包含的文件。
you want to learn shell script? First, you want to learn Linux command! then. you can learn shell script.
现在我想用“!”来分弦。或者"?“或者“。”输出应该如下:
您想先学习shell脚本,然后学习Linux命令,然后再学习shell脚本。
我用了这个脚本:
while read p
do
echo $p | tr "