Search Results

Search: Posts Made By: kikionline
10,670
Posted By kikionline
Hi Mirni, The code gives the perfect...
Hi Mirni,

The code gives the perfect output. Thanks a lot.

---------- Post updated at 08:09 AM ---------- Previous update was at 08:06 AM ----------

Hi Birei,

I am getting the following...
10,670
Posted By kikionline
This code works great... thanks a lot Archimedes!...
This code works great... thanks a lot Archimedes!

---------- Post updated at 09:18 AM ---------- Previous update was at 09:03 AM ----------

Hi Archimedes,

At the first look, I could not...
10,670
Posted By kikionline
Hi Birei, It works like a charm... Thanks a...
Hi Birei,

It works like a charm... Thanks a ton for all your help
10,670
Posted By kikionline
Hi Birei, Sorry for the confusion. It was a...
Hi Birei,

Sorry for the confusion. It was a typo.

I tried with the correct command.


# sed -ne '
> 1 { p ; b; };
> /^D/ { x ; s/^\n// ; s/\n/ /g ; /./ { p }; b; };
> /^D/! { $! { H ;...
10,670
Posted By kikionline
Hi Birei, Thanks for your quick response. ...
Hi Birei,

Thanks for your quick response.

However, I am still getting the same error even with the updated command.


# cat temp.txt
HEAD1767863 87987908798
D1565JHJKGKG;GUI69696Y9Y ...
10,670
Posted By kikionline
Hi Birei, Thanks a lot for your quick...
Hi Birei,

Thanks a lot for your quick reply.

When i am using the sed command, i am receiving sed: command garbled error. I have checked the command but did not find any issue. Can you please...
10,670
Posted By kikionline
How to fix line breaks format text for huge files?
Hi,
I need to correct line breaks for huge files (more than 1MM records in a file) and then format it properly.

Except the header and trailer, each record starts with 'D'.

Requirement:Scan...
2,432
Posted By kikionline
Thanks Neutronscott and Yazu for the quick...
Thanks Neutronscott and Yazu for the quick response!

Really appreciate your help.
2,432
Posted By kikionline
Advance search using sed/awk/perl
Hi,

I have a file with more than 50,000 lines of records and each record is 50 bytes in length.

I need to search every record in this file between positions 11-19 (9 bytes) and 32-40 (9 bytes)...
Showing results 1 to 9 of 9

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