Search Results

Search: Posts Made By: dineshnak
3,432
Posted By dineshnak
Hi, The hexadecimal conversion is not...
Hi,

The hexadecimal conversion is not happening the code, getting the below output, we are using SunOS.
Output:302619 |cnt=0(from 0x1A),chr=?|
ABCD172 2 B10001 |cnt=0(from 0x0E),chr= |F ...
Forum: Solaris 08-21-2014
1,541
Posted By dineshnak
Integer Validation
Hi

Using the below logic to check whether the value is integer or not and converting the value to decimal if not.
int_chck = sprintf(substr($i, 1, 2))
o_cnt = 'if [ isnumber $int_chck ];...
3,432
Posted By dineshnak
Hi, Thanks for your input. While running...
Hi,

Thanks for your input. While running the script we are not getting the output and also I need to write the output in a file. Could you please help out on this.

Script#!/bin/bash...
3,432
Posted By dineshnak
Hi, Find the below one. 0000000 4142...
Hi,

Find the below one.

0000000 4142 4344 3137 3220 3220 4231 3030 3031
0000020 c3ba 3045 2046 c3ba 3038 2044 696e 6573
0000040 6847 c3ba 3134 204b 756d 6172 4e61 6b6b
0000060 61c3 ba30...
3,432
Posted By dineshnak
Hi, Find the below output for the above...
Hi,

Find the below output for the above command. File size would be greater than 1 MB.


0000000 314d 4847 3139 3620 3720 4942 4d35 3133
0000020 414d 4d4f 44e2 9692 3037 2069 626d 7978...
3,432
Posted By dineshnak
Hi Robin, By typo missed the data in...
Hi Robin,

By typo missed the data in between. The expectation of your's is correct, could you please provide the logic how would you processed the data and got the result. The file got generated...
3,432
Posted By dineshnak
Hi Robin, File FTP from windows system...
Hi Robin,

File FTP from windows system without any compression, only data got compressed, we need to expand the data by finding the special character ie. "ú07 & ú1A?.," lies in the file and to...
3,432
Posted By dineshnak
Hi Robin, We encounter fixed format special...
Hi Robin,

We encounter fixed format special characters like "? or spaces" in the file between characters after hexadecimal values. The file got FTP from windows machine, provide some information...
3,432
Posted By dineshnak
Hi Robin, We are getting a fixed length file...
Hi Robin,
We are getting a fixed length file got compressed with special character "ú07 & ú1A?, etc.," in between the characters, need to read the special characters along with the next two bytes...
3,432
Posted By dineshnak
Hi, Thanks for you reply. Could you...
Hi,

Thanks for you reply.
Could you please explain the process how to deal this in a file as multiple occurrence. eg:IBM513AMMODú07 ibmyx66mcp00ú06 302619ú1A 00005014072605331600ú0A 980ú32...
3,432
Posted By dineshnak
Hi, The below code failed with below error ...
Hi,

The below code failed with below error
"Unrecognized switch: -E (-h will show valid options)."
Could you guide us to change the code to use it in SunOS.

Thanks,
Dines
3,432
Posted By dineshnak
Replace Special Character With Next Present Byte
Hi,

First find the special character, from the special character take next two bytes convert the bytes to decimal and replace with next present byte of decimal value times.

E.g.
Input:...
Showing results 1 to 12 of 12

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