Search Results

Search: Posts Made By: ynixon
25,103
Posted By ynixon
maybe it works for the manual still it doesn't...
maybe it works for the manual
still it doesn't work for me :(
25,103
Posted By ynixon
I get the following output: %'d %'d %'d %'d %'d...
I get the following output:
%'d %'d %'d %'d %'d %'d %'d
I am using redhat release 4
25,103
Posted By ynixon
thousands separator
Hi,
Trying to represent a number with thousands separator in AWK:

echo 1 12 123 1234 12345 123456 1234567 | awk --re-interval '{print gensub(/([[:digit:]])([[:digit:]]{3})/,"\\1,\\2","g")}'

...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 05:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy