Search Results

Search: Posts Made By: hare
6,434
Posted By hare
Req on how to convert hex numbers to decimals
Hi,
If i have an input as
c1:41 c2:0x0000.00046b3e
I want to make output display as
c1:41 c2:224062
.
Basically convert first part 0x0000 (as hex) to decimal which is 0 and
convert second...
1,942
Posted By hare
Hi, Thanks. That works of sed 's/\(.*\)...
Hi,
Thanks. That works of sed 's/\(.*\) OBJ:\(.*\)/OBJ:\2/'
.
Assuming the output now i get is this after executing above line
OBJ:41142 SCN:0x0000.00036b3e SEQ: 1 OP:11.2
OBJ:......
.
I want...
1,942
Posted By hare
A question on using sed or awk
Hi I have a pattern like this. repeating many lines
CHANGE #13 TYP:22 CLS: 21 AFN:12 DBA:0x0040a15f OBJ:41142 SCN:0x0000.00036b3e SEQ:1 OP:11.2
CHANGE #15 TYP:32 CLS: 32 AFN:212 DBA:0x0040a15f...
Showing results 1 to 3 of 3

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