Dear friends,
I have hexadecimal data like this.
now i want to read each letter and convert to decimal format.
for example.:
from the below data first i have to read hex data 0 and convert to 4 bit decimal value ie 0000.
similarly second letter 8 decimal value is 1000.
like this.... (6 Replies)
HI
Hi I have a character string which contains some special characters and I need it to display as a hex string.
For example, the sample i/p string: ×¥ïA Å gïÛý and
the o/p should be : D7A5EF4100C5010067EFDBFD
Any pointers or sample code pls. (5 Replies)
I need to have my scripts import volume groups and mknod devices files. I have most of the script working but the device file needs to be in the format 0x??0000 (where the question marks are my HEX representations of the volume group number. I have the code below and the output it produces which... (2 Replies)
Hi,
I have a char buf,ch; and the buf is filled with the result from MySQL server which I get like this numbytes = recv(sock, buf, 1024, 0));I have the followingcode to display the results
printf("received %ld bytes:\n",numbytes);
for(c=0;c<numbytes;c++){
ch = (char)buf;
... (2 Replies)
Dear All PROs
Thanks in advance
need a shell for Decimal to hex conversion
input file (decimal values)
65,5,48,66,133,131,118,47
65,5,48,66,133,131,83,63
.
.
desire output should be (Hex value)... (11 Replies)
Hello all. I need help...
How can I cenvert this 42ec93df826c804ea531c56594db453d54daad4b to normal text? What convertor I have to use?
Thanks. (12 Replies)
I'm trying to convert hex to dec and with the help of output i need to do the process. If i execute the below code
assetValue=8f
assetNavigation=$(echo "ibase=16; "$assetValue"" | bc)
echo $assetNavigation
i'm getting the error below
$ sh script.sh
(standard_in) 1: syntax error... (1 Reply)
I'm trying to convert hex to dec and with the help of output i need to do the process. If i execute the below code
assetValue=8f
assetNavigation=$(echo "ibase=16; "$assetValue"" | bc)
echo $assetNavigation
i'm getting the error below
$ sh script.sh
(standard_in) 1: syntax error... (2 Replies)
Hi,
Got the below code in this forum,
for i in `cat test`; do
printf "%16s\n" $(echo "ibase=10;obase=16;$i" | bc)
done
Understand, this will not give output with '0'. Need help to get the output with '0'.
Regards,
Siva (2 Replies)
Discussion started by: ksgnathan
2 Replies
LEARN ABOUT DEBIAN
zziplib-bin
ZZIPLIB-BIN(1) General Commands Manual ZZIPLIB-BIN(1)NAME
zzcat, zzdir, zzxorcat, zzxordir zzxorcopy - small tools using zziplib
SYNOPSIS
zzcat FILE [...] zzdir DIR [...] zzxorcat [-HEX] FILE [...] zzxordir [-HEX] DIR [...] zzxorcopy [-HEX] FILE OUTFILE
DESCRIPTION
zzcat prints the given files to stdout, so you may want to redirect the output. The FILE can be a normal file or an inflated part of a zip
archive (see OPTIONS).
zzdir prints the content table to stdout of the given DIR or zipfile.
zzxorcat prints the given files to stdout, so you may want to redirect the output. The FILE is an inflated part of a zip archive
obfusctated with a xor value optionally given by the HEX option.
zzxordir prints the content table to stdout of the given DIR or zipfile. The DIR can br an inflated part of a zip archive obfusctated with
a xor value optionally given by the HEX option.
zzxorcopy copies data from FILE to OUTFILE adding simple obfuscation by xor-ing each byte with the HEX value given. Remember that copying
data twice with the same xor-value will result in the original file data.
OPTIONS
zziplib-bin tools accept the following options:
FILE Input filename for reading or part (if supported by tool). Part is written as zipname/filename, e.g.: for accessing README inside
of data.zip you'll specify data/README.
DIR Disk directory, zipfile or inflated part of a zipfile.
-HEX Hex number for xor-ing the zipfile contents. If not supplied all tools that use it take 0x55 as default value for xor-ing. OUTFILE
Output file name for zzxorcopy.
AUTHORS
zziplib was written by Guido Draheim <guidod@gmx.de>.
This manual page was written by Ricardo Mones <mones@aic.uniovi.es>, for the Debian GNU/Linux system (but may be used by others).
June 25, 2004 ZZIPLIB-BIN(1)