示例文件:abc.ksh
echo "This is a sample file." >> mno.txt echo "\nThis line has new line char." >> mno.txt
我想要
echo "\nThis line has new line char." >> mno.txt
作为输出.
linux grep
grep ×1
linux ×1