sed截取兩個字符串之間的內容 sed -n '/2018-03-08 15:05/,/2018-03-08 15:18/p' catalina.out > 1.txt sed -n '/2019: ...