Hello,
First off, thanks to everyone here for being so helpful in me getting up-to-speed in the strange new UNIX world!
In a Bourne shell script I have a variable that contains a number (ex: 1049312). This number is in bytes and I'd like to make it more readable for my output. Ex. 1,049,312
How can I change a string that contains a number so as it has commas to make it easier to read?
Thanks,
JT
First off, thanks to everyone here for being so helpful in me getting up-to-speed in the strange new UNIX world!
In a Bourne shell script I have a variable that contains a number (ex: 1049312). This number is in bytes and I'd like to make it more readable for my output. Ex. 1,049,312
How can I change a string that contains a number so as it has commas to make it easier to read?
Thanks,
JT