Advanced

Another surprising AWK trick

Posted by Bob_Mesibov on
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

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

This topic does not have any threads posted yet!

You cannot post until you login.