I am trying to perform a common task, searching data from within a file and placing what is found into another.However, I have not been able to figure the “How to” with this situation.
I need to search through all lines within this text and pull the first positional attributes and their formats
For example, I have this line in the file: I need to pick from this line the following and output to another file: Because this is a very large file, I am also asking for your help to make this an efficient command.
Hello,
I have a file which contains some SQL statements. I need to take out the table name from the file. Table name will always end with "_t". can anyone help me in getting that?
for e.g.
---
SQL_STMT do_sql_insert: cmd="insert into account_t ( poid_DB, poid_ID0, poid_TYPE, poid_REV,... (9 Replies)
hey to everybody
this is my first post at this forum
I need a very immediate answer for this question. If you can, I will be delightfull
I have a file called example.txt and I want to seek for the for hello and learn the number of the occurance of hello (2 Replies)
Hi All,
I have a sql output file has below. I want to get the values 200000040 and 1055.49 .Can anyone help me to write a shell script to get this.
ACCOUNT_NO
------------------------------------------------------------
BILL_NO ... (8 Replies)
Hi
I'm trying to search for the last instance of the word 'cache' in a HTML file that I have downloaded from YouTube.
I'm using the following syntax, but an error is thrown when I try it.
grep -f "cache"
Also I wish to append the above grep command to the below so that the search for cache... (3 Replies)
How to search for a word like "computer" in a column (eg: 4th field) of a '***' delimited file and add a column at the end of the record which denotes 'Y' if present and 'N' if not. After this, we need to again check for words like 'Dell' but not 'DellXPS' in 5th field and again add another column... (5 Replies)
Hi need help with a script or command
My requirement is
- I need to do a "ls -ltr tcserver*.syslog" files in /tmp, direct the output to a file
ls -ltr tcserv*.syslog | grep "Jan 31" | awk '{printf "\n" $9}' > jandat.logs
-Then open each file in above list and search for string/word,... (4 Replies)
How to get the fisrt word of the output of a shell script .
below command will display the list of baselines in my view .
cmd :
cleartool lsstream -fmt "%NXp\n" -view $VIEW_NAME
Output :
baseline:MHC_BUILDTREE1.0.1
baseline:JEPG_DUIF_CI
baseline:MOR_BuildTree_BLD_I.0.1
I need to... (2 Replies)
Hi,
I have a sample file as shown below, I am looking for sed or any command which prints the complete word only from the input file.
Ex:
$ cat "sample.log"
I am searching for a word which is present in this file
We can do a pattern search using grep but I need to cut only the word which... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies
LEARN ABOUT DEBIAN
www::search::yahoo::korea
WWW::Search::Yahoo::Korea(3pm) User Contributed Perl Documentation WWW::Search::Yahoo::Korea(3pm)NAME
WWW::Search::Yahoo::Korea - class for searching Yahoo! Korea
SYNOPSIS
use WWW::Search;
my $oSearch = new WWW::Search('Yahoo::Korea');
my $sQuery = WWW::Search::escape_query("Tokyo");
$oSearch->native_query($sQuery);
while (my $oResult = $oSearch->next_result())
print $oResult->url, "
";
DESCRIPTION
This class is a Yahoo! Korea specialization of WWW::Search. It handles making and interpreting searches on Yahoo! Korea
http://kr.yahoo.com.
This class exports no public interface; all interaction should be done through WWW::Search objects.
NOTES SEE ALSO
To make new back-ends, see WWW::Search.
BUGS
Please tell the maintainer if you find any!
TESTING
There are no tests defined for this module.
AUTHOR
"WWW::Search::Yahoo" is maintained by Martin Thurn (mthurn@cpan.org).
LEGALESE
Copyright (C) 1998-2009 Martin 'Kingpin' Thurn
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.
perl v5.12.4 2011-11-02 WWW::Search::Yahoo::Korea(3pm)