UNIX Command Line: Print last 2 characters using awk substr
I have already discussed about awk substr function in one of my previous post. Now using that I have to extract the last two characters of each line from details.out $ cat details.out 200KG 2567.89KG 132.3MG 1200MG Id250d hn i.e. output required: KG KG MG...