Search Results

Search: Posts Made By: krk
Forum: Red Hat 10-09-2015
2,060
Posted By krk
It worked. Thank you all.
It worked.

Thank you all.
Forum: Red Hat 10-06-2015
2,060
Posted By krk
Apologies "double longi;" is not part of the code...
Apologies "double longi;" is not part of the code , i just wanted to inform that longi is of double data type.
i don't have any hardware info for the HP system.

the field i need to extract from...
Forum: Red Hat 10-05-2015
2,060
Posted By krk
Double data type C Red Hat platform problem
I'm converting a binary file to ASCII using c code.
The folllowing block of code prints correct double value 00000.000000000 on HPUNIX platform.


longi double;
/* C79 - Price Per Minute */ ...
6,626
Posted By krk
i'll brief the requirements again. I have a...
i'll brief the requirements again.

I have a binary file (base32 encoded) and a ASCII version of the same binary file.But i don't have a conversion code/logic/algorithm.I do have file...
6,626
Posted By krk
first three lines from the fixed length ascii...
first three lines from the fixed length ascii converted file

016 20150722 0040 001 08000400 08001900 0000004 2015072208000000 0000007 0000000003 0000003 000000000126189936 0001 0 0000 1AAA ...
6,626
Posted By krk
I need to decode the binary file ,convert it in...
I need to decode the binary file ,convert it in ASCII and load its contents into oracle table.

when i do a
file -i <filename>
i get below o/p
application/octet-stream

As per my source ,...
6,626
Posted By krk
when i execute the command file...
when i execute the command
file <binary_filename>

i get below message.

0420 Alliant virtual executable common library not stripped.

does that ring any bells ?
6,626
Posted By krk
hexdump -c <Binary-File> | head -20 0000000...
hexdump -c <Binary-File> | head -20

0000000 020 001 3 y 302 \0 ( 001 \0 z 023 220 \0 z 031 l
0000010 \0 \0 \0 004 \0 \a ( 262 217 ' 224 \0 \0 \0 \0 \a
0000020 \0 ...
6,626
Posted By krk
hexdump o/p is as follows 9b0 00 00 40 3d...
hexdump o/p is as follows

9b0 00 00 40 3d 00 00 00 00 00 00 30 20 20 20 20 20 |..@=......0 |
000039c0 20 20 20 20 20 20 00 30 20 20 20 20 20 20 20 20 | .0 |
000039d0 20 20...
6,626
Posted By krk
the o/p above is from VI editor . when i do...
the o/p above is from VI editor .
when i do head -2 <binary_filename> , i get data in below format.

(²(ã(042393553 00442894484608 ...
6,626
Posted By krk
Base32 decoding binary file to ascii
I need to convert a binary file which in encoded using base32 encoding technique and convert that into readible ASCII so that i can load the same in DB.

is there any command to do the same.
...
1,125
Posted By krk
Grep for search.
hi,
i got files delimited by |^ character. eg.
apple|^ball|^cat|^dog|^egg

i need to find if the above file contains | (pipe ) character inside the data.eg.
apple|^ball|^cat|^d|og|^egg.
...
9,164
Posted By krk
Sudo -s without password prompt
hi,
i have a requirement where i need to sudo to another user in the shell script.suppose consider user A and B, first user A calls a shell script and then i need to sudo to user B which executes...
Showing results 1 to 13 of 13

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