gpt4 book ai didi

linux - 如何选择文件的其余部分,不包括 linux 中的某些行?

转载 作者:太空宇宙 更新时间:2023-11-04 10:17:37 24 4
gpt4 key购买 nike

我需要一些与类似问题 (Selecting a part of a file and copying that into new file in Linux) 的答案 (sed -n '200,700p' logfilename > destinationFilename) 相反的东西。我需要排除一些行,例如从 200 到 700 并输出文件的其余部分,以便我可以将它复制到另一个文件。我该怎么做?

最佳答案

关于linux - 如何选择文件的其余部分,不包括 linux 中的某些行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45383790/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com