📅  最后修改于: 2022-03-11 15:04:35.654000             🧑  作者: Mango
sed -n '8,12p' yourfile # Will send lines 8 through 12 of yourfile to standard out.
# For example:
cat file-to-cut.txt | sed -n '26,142p' >> new-file.txt