Answers for "bash sed crop cut file line number"

C
0

bash sed crop cut file line number

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
Posted by: Guest on November-03-2021

Code answers related to "C"

Browse Popular Code Answers by Language