hi all,
i would like to search in a directory. all files they were found shoul be opend and looked about a keyword. if keyword is found i want to see the name of the file. i've rtfm of find and have a command like this :
find /etc -exec cat \{}\ | grep KEYWORD
but don't work, and :
find... (4 Replies)
Hi,
I have a file which contains the following :
select * from test where test_id=1;
select id
from test1, test2 where test_id=1 and test_id=2;
select * from
test1, test2, test3 where test_id=4 and test2_id where in (select test2_id from test2);
select
id1, id2 from test ... (6 Replies)
I've following sed command working fine -
sed '/search_pattern1/ !s/pattern1/pattern2/" file
Now, I want to search two patterns - search_pattern1 and search_pattern2 .
How can put these into above sed statement ?
Thanks in advance. (12 Replies)
hi,
I have a doubt. how we can remove few words based on search.
here im specifying my requirement with example.
ALL the words should delete between two words ...
those words will ends **
EX : cat infile.txt
"HI",ob1**,ob2,ob3,ob4**,ob5,ob6
OUTPUT... (2 Replies)
Hi Friends,
I have been trying to write the script since morning and reached some where now. but i think i am stuck in the final step. please help
I want to search the strings below in red in the be be searched in the directories below. How can i do that in my shell script.
Thanks
Adi
... (8 Replies)
Hello,
I'm trying to write a bash script that will search for words from one list that may be found in another list. Once the record is found, it will create a new text file for each word.
For example, list1.txt contains the following:
Dog
Cat
Fish
List2.txt contains
Dog - Buddy 14... (3 Replies)
Hello,
I try to print out with sed or awk the 21.18 between "S3 Temperature" and "GrdC" in a text file.
The blanks are all real blanks no tabs.
Only the two first chars from temperture are required. So the "21" i need as output.
S3 Temperatur 21.18 GrdC No Alarm
... (3 Replies)
Hi,
Need your help for this scripting issue I have. I am not really good at this, so seeking your help.
I have a file looking similar to this:
Hello, i am human and name=ABCD.
How are you?
Hello, i am human and name=PQRS.
I am good.
Hello, i am human and name=ABCD.
Good bye.
Hello, i... (12 Replies)
hi,
i need to replace all words in any quote position and then need to change the words inside the file thousand of raw.
textfile data :
"Ninguno","Confirma","JuicioABC"
"JuicioCOMP","Recurso","JuicioABC"
"JuicioDELL","Nulidad","Nosino"
"Solidade","JuicioEUR","Segundo"
need... (1 Reply)
Discussion started by: benjietambling
1 Replies
LEARN ABOUT DEBIAN
www::search::altavista::careers
WWW::Search::AltaVista::Careers(3pm) User Contributed Perl Documentation WWW::Search::AltaVista::Careers(3pm)NAME
WWW::Search::AltaVista::Careers - class for searching www.altavistacareers.com
SYNOPSIS
use WWW::Search;
my $oSearch = new WWW::Search('AltaVista::Careers');
my $sQuery = WWW::Search::escape_query("java c++)");
$oSearch->native_query($sQuery,
{'state' => 'CA'});
while (my $res = $oSearch->next_result()) {
print $res->title . " " . $res->change_date
. " " . $res->location . " " . $res->url . "
";
}
DESCRIPTION
This class is a AltaVistaCareers specialization of WWW::Search. It handles making and interpreting AltaVistaCareers searches
http://careers.altavista.com.
The returned WWW::SearchResult objects contain url, title, location and change_date fields.
OPTIONS
The following search options can be activated by sending a hash as the second argument to native_query().
The only available options are to select a specific location. The default is to search all locations. To change it use
{'state' => $state} - Only jobs in state $state.
{'city' => $city} - Only job in a specific $city
AUTHOR
"WWW::Search::AltaVistaCareers" is written and maintained by Alexander Tkatchev (Alexander.Tkatchev@cern.ch).
LEGALESE
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
native_setup_search
This private method does the heavy lifting after native_query() is called.
native_retrieve_some
This private method does the heavy lifting of communicating with the server.
perl v5.12.4 2011-11-02 WWW::Search::AltaVista::Careers(3pm)