June 22, 2011
Using Awk to Limit Output by Character Count
Sometimes you need to print a specific amount of characters from each line output. This can seem like a challenge, but if you know a little awk magic it’s actually not that bad. Below is an easy example of how to output a set amount of characters per line via bash and awk. Print the