Print all fields from n:th to last with awk

May 02, 2012

Reading time ~1 minute

Writing a note here about how to print the all fields from number n to the end with awk. It might be useful for someone else sometime.

awk 'BEGIN{ FS="-" }{ print substr($0, index($0,$3)) }'

That would match going-on-in-here in the following string


Running vim-airline with Maximum Awesome

I use [Maximum Awesome]( when I code in [vim](, it's a great starting place...… Continue reading

Quicksort implementation in Python

Published on August 04, 2014

Fibonacci generator in Python

Published on August 04, 2014