Add leading zeroes that aren't really leading

Posted by Bob_Mesibov on Sep 13, 2019 1:28 PM EDT
BASHing data; By Bob Mesibov
Mail this story
Print this story

A leading zero can be a useful addition to a number, and there are several ways to add one or more leading zeroes on the command line. The addition is a little less straightforward if the leading zero sits inside a non-numeric string.

Full Story

  Nav
» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.