I need a sed script that deletes every seventh line in a file. I managed to do this with an awk script but wanted to look for a way to use sed to do this.
You can try
sed 'n;n;n;n;n;n;d;'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With