Search Results

Search: Posts Made By: dhiraj4mann
3,329
Posted By dhiraj4mann
Thanks for the helpful suggestions ...
Thanks for the helpful suggestions ...
3,329
Posted By dhiraj4mann
Hi Shell_Life, As my file is not standard...
Hi Shell_Life,

As my file is not standard text file, so I guess this would not work.
I need some way to operate on binary data.

Thanks,
3,329
Posted By dhiraj4mann
Extracting non zero records from Binary File
Dear Experts,


I have one "binary file" which contains multiple records of fixed size 31744.
I need to extract only those records which have non-zero data.

Sample file could be:

...
3,917
Posted By dhiraj4mann
Thanks
Thanks
3,917
Posted By dhiraj4mann
Hi Franklin52, The file I am working with...
Hi Franklin52,

The file I am working with is binary file.
Not sure if sed would work on it?

Also this pattern of 00 can occur anywhere in valid data record.
I do not want it to be...
3,917
Posted By dhiraj4mann
Editing Binary File
Dear Experts,

I have one binary file which contains multiple 31k (31744) records.
Each record begins with "a6 82".

So the pattern is:
a6 82 (+31742 bytes)
a6 82 (+31742 bytes)
...
2,436
Posted By dhiraj4mann
Hi, I want entire record which is...
Hi,

I want entire record which is delimited by "===========" pattern.
Record can be of variable size (i.e lines count can change).
But it will start & end with "=============".
...
2,436
Posted By dhiraj4mann
Regarding multiline record searching with specific pattern
Dear Experts,

I need to extract specific records from one file which has multiline records.

Input file pattern is:

============
aaaaaaaa
bbbbbbbb
asdf 1234
cccccccc
dddddddd
...
1,965
Posted By dhiraj4mann
Hi hiptoss Thanks a lot for the reply....
Hi hiptoss
Thanks a lot for the reply. Script is working perfectly fine. :)


Hi Franklin52
This definitely is not a homework question. In Telecom domain we typically store the data in BCD...
1,965
Posted By dhiraj4mann
Query regarding string Manipulation
Dear Experts,
I have to write a shell script in which i get one string of numbers (e.g 1234567890) from user & i have to chage it to (2143658709). Please suggest how can i achieve the same.
...
1,873
Posted By dhiraj4mann
Hi Jim, Thanks for the reply. Even i agree...
Hi Jim,
Thanks for the reply. Even i agree sourcing in can be good solution.
As I am not expert in scripting so request you to elaborate on how i can source a file in my main script.

...
1,873
Posted By dhiraj4mann
Query regarding portable script
Dear Experts,

I want to write a script which has to work on Solaris & Linux sytems.
The problem which i am facing is, there are commands whose options are different on both OS's. For example...
Showing results 1 to 12 of 12

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