The same way as @codebrainz's suggestion, you can get this to work easily with 
`sed`:
```shell
sed -n '1~2p'
```
Replace `1` with the starting line, and `2` with the step you want -- here it 
does exactly what you asked for, print every second line starting at line 1, 
effectively giving every odd line.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/772#issuecomment-419967392

Reply via email to