Another surprising AWK trick

Posted by Bob_Mesibov on Dec 6, 2019 6:04 AM EDT
BASHing data
Mail this story
Print this story

If you tell AWK that you're doing arithmetic operations on strings beginning with numbers, it ignores the non-number parts of the string. On the other hand, if you happen to be going to St Ives and meet 7 wives, 7 sacks, 7 cats...

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Community, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.