Search Results

Search: Posts Made By: abinash
4,717
Posted By abinash
Awesome. this is working as expected. Great...
Awesome. this is working as expected. Great Thanks.
4,717
Posted By abinash
Sample text for better understanding.
Sample file:
3628234::10120234236:042302134 SVP[3301]:: GE SupplychainInfomationBox::MART_LOOKING::value=@9querty34,day=Tues;
3628244::12342344444:042342344 SVP[3302]:: GE...
4,717
Posted By abinash
grep a pattern with line numbers.
I have a txt file with more than 10000 lines. There is a unique pattern which is scattered into the file. it starts with @9 and it has 15 characters. i need to grep them and display along with line...
5,488
Posted By abinash
It simply ignores the code. Not even displaying...
It simply ignores the code. Not even displaying an empty line. i am not sure if i am missing something. Pls help :-(
5,488
Posted By abinash
Thanks for your contribution. I am facing one...
Thanks for your contribution.
I am facing one more challenge. Please help me.

My proposed system is as follows.

eg:

I have two files say aaa.txt and bbb.txt.

aaa.txt with list of...
15,928
Posted By abinash
No. this is a text file from which i need to...
No. this is a text file from which i need to split the data into multiple files.
15,928
Posted By abinash
Thanks for the reply. It is working well. But...
Thanks for the reply. It is working well.
But I am extremely sorry for not explaining my requirement clearly.

The example will look like

......test message.....
some junk...
15,928
Posted By abinash
Split a file into multiple files based on the input pattern
I have a file with lines something like.

......
123_start
......
.......
123_end
....
.....
456_start
......
.....
456_end
....
.....
789_start
....
....
789_end
5,488
Posted By abinash
Awesome thanks :-) Is it possible to get the...
Awesome thanks :-)

Is it possible to get the line number of the occurrence along with the output? from the above example, "this is the line1 which is suppose to be grepped and displayed as a...
5,488
Posted By abinash
Grep a pattern given in one file at other file and display its corresponding contents as output.
*****************************************
Right now i have this current system.

I have two files say xxx.txt and yyy.txt. xxx.txt is with list of patterns within double quotes. Eg.
"this is the...
3,635
Posted By abinash
Now i am getting the line which has the required...
Now i am getting the line which has the required pattern.

Whenever the pattern is matched, it should display the content from other file.

Eg:

I have three files say xxx.txt, yyy.txt, and...
3,635
Posted By abinash
Grep pattern from different file and display if it exists in the required file
Hi,

I have two files say xxx.txt and yyy.txt. xxx.txt is with list of patterns within double quotes. Eg.
"this is the line1"
"this is the line2"

The yyy.txt with lot of lines. eg:
"This is a...
1,816
Posted By abinash
Great thanks for your reply. It is working fine...
Great thanks for your reply. It is working fine when hardcoded as
awk '/12345_start/,/12345_end/' test > test1

Tried to pass variable. But still i am not getting the solution.
a=12345_start...
1,535
Posted By abinash
Script required to extract a specific snippet from the entire file.
Hi,

I have a file with the following structure.

XXXXX...........
YYYYY...........
.................
..................
ZZZZZZ......
qwerty_start..............
.....................
1,816
Posted By abinash
Script required to truncate all the lines except a specific snippet.
Hi,

I have a file with the following structure.

XXXXX...........
YYYYY...........
.................
..................
ZZZZZZ......
qwerty_start..............
.....................
Showing results 1 to 15 of 15

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