Created
December 22, 2010 16:09
-
-
Save mazuhl/751694 to your computer and use it in GitHub Desktop.
Every third line starting from the first, second and third (using sed)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -n '1~3p' file.txt | |
sed -n '2~3p' file.txt | |
sed -n '3~3p' file.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment