Search Results

Search: Posts Made By: emresearch
3,704
Posted By emresearch
Thanks Panyam I used same file which you...
Thanks Panyam

I used same file which you have shown in ur thread but still ...

cat file ----
ss ddd aa bb ff gg
dd ff ff ff fff
dsds
dsd
agdsgs

cat filter1
aa bb
gg
dd ff

Output...
3,704
Posted By emresearch
Problem in Using fgrep Command with pattern file option
Hi,

i am using fgrep command with following syntax

fgrep -v -f pattern_file_name file

file contains few line and have the pattern which i am giving in pattern file.

My Problem is :
its...
38,349
Posted By emresearch
@michaelrozar17 Sed version is 4.1.2 of GNU ...
@michaelrozar17

Sed version is 4.1.2 of GNU

after using awk command---output file content is-----

spotlight -verilog file.v -$regression -batch -policy=xyz -rules ABC,abc,pqr -wd
ir...
38,349
Posted By emresearch
@Franklin52 @michaelrozar17 I am using...
@Franklin52

@michaelrozar17

I am using the same command again and again but its is not working.

Please go through my input files once then reply me for the same.

or if you have any...
38,349
Posted By emresearch
My file content is---- #interpreter cd...
My file content is----
#interpreter
cd directory
spotlight -verilog file.v -$regression -batch -policy=xyz -rules ABC,abc,pqr -wdir ../other_files
cd ...

In this case i want to extract strings...
38,349
Posted By emresearch
@Franklin52 Thanks for you reply But...
@Franklin52

Thanks for you reply

But still it is not working, it is not giving any output.

please explain me this command also, how it will work?

and I want to extract between two...
38,349
Posted By emresearch
@michaelrozar17 Thanks for you reply But...
@michaelrozar17
Thanks for you reply

But it is not working, it is not giving any output.
So Can you please explain me this command?

Thanks
38,349
Posted By emresearch
Thanks for quick response....it is working...
Thanks for quick response....it is working fine...But i want to do this thing in shell scripting only..

So Please tell me any command in shell scripting

Thanks
Manish

---------- Post...
38,349
Posted By emresearch
How to Extract text between two strings?
Hi,

I want to extract some text between two strings in a line i am using following command i.e;
awk '/-string1/,/-string2/' filename

contents of file is---
line1
line2
aaa -bbb -ccc...
Showing results 1 to 9 of 9

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