Batch file to delete first 3 lines of a text file

后端 未结 5 1771
广开言路
广开言路 2020-11-28 14:06

As the title states I need a batch file to delete the FIRST 3 lines of a text file.

for example:

A    
B    
C    
D    
E   
F    
G
5条回答
  •  温柔的废话
    2020-11-28 14:41

    Use sed to only print beginning with the 4th line (Edit: Only if you use Un*x :)

    $ sed -e '4,$p' in.txt 
    

提交回复
热议问题