10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
sry for poor english
I have a group of hex number as : 4D40:4D42
I want so split this group in a list as :
i don't know how i can do this in ksh
Thanks (5 Replies)
Discussion started by: jocazh
2. Shell Programming and Scripting
I am having a problem when i execute following script on RHEL 6.4. Same script works fine on another machine where I have same version of RHEL and KSH.
Below is the rpm and RHEL version.
ossvm12(0)> rpm -qa | grep ksh
ossvm12(0)> cat... (7 Replies)
Discussion started by: Adithya Gokhale
3. Shell Programming and Scripting
I have this below string in a variable
this string is nothing but hex values depicted as below
so what i want to achieve is swap the lower order with higher order values in the... (3 Replies)
Discussion started by: vivek d r
4. Shell Programming and Scripting
I woild like to convert hex on KSH not BASH:
I tried to use:
it works on bash - Output is '1' but not on ksh.
please advice on the right syntax.
Thanks. (4 Replies)
Discussion started by: LiorAmitai
5. Shell Programming and Scripting
How do i found out all the number in a range ( HEX)
Thanks (2 Replies)
Discussion started by: greycells
Is there really a difference between these two, std::hex and ios::hex??
I stumbled upon reading a line, "std::ios::hex is a bitmask (8 on gcc) and works with setf(). std::hex is the operator". Is this true?
Thanks (0 Replies)
Discussion started by: royalibrahim
My main intension of is to convert the Hexstring stored in a char* into hex and then prefixing it with "0x" and suffix it with ','
This has to be done for all the hexstring char* is NULL.
Store the result prefixed with "0x" and suffixed with ',' in another char* and pass it to... (1 Reply)
Discussion started by: rvan
8. Shell Programming and Scripting
please tell me how to convert hex number to decimal
and seconds to minutes, hours, days, months, years
bytes to kbytes, mbytes , gbytes
read the following examples
while read a b
printf "%5d %5d\n" "0x$a" "0x$b"
done < "$FILE"... (15 Replies)
Discussion started by: jack2
9. Shell Programming and Scripting
Here is what I am trying to do:
I have a list of numbers that I pulled from an awk command in a column like so:
I want to find which numbers in the list are missing out of a range. So let's say I want to find out from the list above which numbers are missing from the... (6 Replies)
Discussion started by: afavis
10. UNIX for Advanced & Expert Users
If i have an input as
I want to make output display as
Basically convert first part 0x0000 (as hex) to decimal which is 0 and
convert second part 0x00046b3e (as hex) to decimal which is 289598
and as such add both parts namely... (3 Replies)
Discussion started by: hare