Skip to content

Instantly share code, notes, and snippets.

Created November 1, 2018 14:02
What would you like to do?
Make every 3rd line of input green to make it easier to follow the lines among others
function thirdline(){ awk '{if ( NR%3==0 ){ print "\033[32m" $0 "\033[0m"} else{ print } }'; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment