Login or Register to Ask a Question and Join Our Community

Search Results

Search: Posts Made By: Cranie
4,313
Posted By Cranie
in this instance you could use: printf...
in this instance you could use:

printf "%8.1f \n" $var | sed 's/...\./,&/g'

But for something with more than 5 characters or less than 4 this wouldn't work.
Showing results 1 to 1 of 1

 

Featured Tech Videos