# # Compare with keep-every-3rd-line # echo "Start with line one, delete every 3rd line" sed '1~3d' testfiles/every-3rd-line echo " Start with line three, delete every 3rd line" sed '3~3d' testfiles/every-3rd-line
Index