Search Results

Search: Posts Made By: math4
8,270
Posted By math4
I have rewrite the function in perl: wow, very...
I have rewrite the function in perl: wow, very fast!
I like perl seem easy to understand.
If someone is interested...

sub decrypt {
my ($f, $key) = @_;
my $s;
{
local *FH;...
8,270
Posted By math4
Elements are group of integer, not single char. ...
Elements are group of integer, not single char.
I had study "associative arrays" and make a try: It's better, but not so much.
Tomorrow I'll try a vb6 to Perl or Awk conversion. Hope that make...
8,270
Posted By math4
<What did you use to profile performance if...
<What did you use to profile performance if anything?>

Nothing special.. I had used "LSHW" for the specs and "ps aux" for see cpu usage, and "free" to see ram. Probably I not understand your...
8,270
Posted By math4
Yes, I read somewhere tha define variable as...
Yes, I read somewhere tha define variable as array speedup the process but when I create the array I use: IFS=' ' read -a sn <<< "$s" ...so I think was the same. I'm in error?
8,270
Posted By math4
Brief: I read a binary file encrypted, parse...
Brief:
I read a binary file encrypted, parse char by char loaded using a key, and then, with the result, I create a new file readable.
8,270
Posted By math4
Hi, thank you for reply. It's the same machine...
Hi, thank you for reply.
It's the same machine (P4) that had XP sp3 (32bit), and now run with only ubunto server (without X... and I don't want install WINE).

product: Intel(R)...
8,270
Posted By math4
Bash - array loop performance
Hi,

another little question...

"sn" is an array whose elements can vary from about 55,000 to about 150,000 elements. Each element consists of an integer between 0-255, eg: ${sn[1]} contain the...
10,986
Posted By math4
:eek: There have been over TWO days (h24) to no...
:eek: There have been over TWO days (h24) to no avail.

I also saw the OD command but I was lost.
I am new to UNIX and I am converting some domestic services that I had done in windows.

It's...
10,986
Posted By math4
Bash - binary data to ascii code
Hello,

With bash-script (ubunto server) I'm trying to read a binary file and, for each character, give back its ascii code (including extended ascii). For example:

HEX => ASCII => PRINT
f5...
Showing results 1 to 9 of 9

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