Search Results

Search: Posts Made By: Navneet Tohan
51,470
Posted By ghostdog74
if you have gawk awk --non-decimal-data...
if you have gawk

awk --non-decimal-data '{print ("0x"$1)+0 " " ("0x"$2)+0}' file

output:

# awk --non-decimal-data '{print ("0x"$1)+0 " " ("0x"$2)+0}' file
20000 1141
10000 271
30000 27042...
51,470
Posted By Yogesh Sawant
try this: perl -pi -e 'printf ("%d", $_);'...
try this: perl -pi -e 'printf ("%d", $_);' file
Showing results 1 to 2 of 2

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