All about printf

Posted by bob on Aug 11, 2016 8:58 AM EDT
Linux Journal
Mail this story
Print this story

In my last article, "Fancy Tricks for Changing Numberic Base", I explored the surprising ability of the Linux shell to convert numeric bases on the fly, including this sweet little snippet that converts FF hexadecimal into decimal notation:
$ echo $(( 0xFF ))
255

Full Story

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

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.