To remove the line and print the output to standard out: sed '/pattern to match/d' ./infile. To directly modify the file – does not work with BSD sed:
確定! 回上一頁