In my script I read a input file and search all the files in a directory and it's sub-directories for that string using:
find . -type f -print | xargs grep $var1
This just displays all the lines the string was found on. Too much data.
What I need is to store in a file one time those... (17 Replies)
Hi All: I'm using sed to replace one line in a configuration file. After replacing that line I would like to display to screen that line plus 10 lines above and below the line that was changed... How would I go about doing that??
Here is my search and replace string....
sed -e... (2 Replies)
Hi i would like to search for a pattern and then prints the 2 lines before the line where the pattern is found.
I would also like to apply this in compressed files.
Please help me in this. (8 Replies)
Dear All
I had input file as mention below. Now from that file i want to search string "FAULT CODES CLASS" and want to display contain again its. ( ie. 1B4 --4 is in next line. ).
Kindly let me know the possible ways.
<rxmfp:mo=RXOTX-46-5 ; ... (3 Replies)
Dear All
I had below mention requirement. Kindly sugguest me possible ways.
Thanks
Regards
Jaydeep
IN PUT FILE:
CELL BROADCAST SHORT MESSAGE SERVICE
MESSAGE DATA
ID CODE GS UPDATE MODE LANG MCO MCL NUMPAGES
50 1000 0 13 MML 1 1
TEXT PAGE
*999*1# SONGS4U@30/M- 1 (3 Replies)
Hi I have search everywhere for this but I haven't got any result. so here is my question?
I am trying to ask user to enter a name and then searching that name from a file and from a specific column. If user enter something, it should only displaying that name from that specific column and If the... (3 Replies)
I like "ls -ltr".
I would like to search for a file in a large directory recursively and and display all the candidates in reverse order.
/usr/bin/find . -name \*.txt
This works.
How do I display the date and sort the file names by the date in reverse order for the entire directory... (1 Reply)
I want to search a small string in a large string and find the locations of the string. For this I used grep "string" -ob <file name where the large string is stored>. Now this gives me the locations of that string. Now how do I store these locations in a text file.
Please use CODE tags as... (7 Replies)
I have a log file which contains information like below (more than 200 ERROR sets).
Here I want to find first .c file and function after "ERROR: AddressSanitizer" line.
If you see here after "ERROR:" line first
file - asfrecohandling.c
function - ASFPotRecoHandling_Create_RecPaxSrvcComp
... (6 Replies)
Discussion started by: pushpabuzz
6 Replies
LEARN ABOUT DEBIAN
www::search::altavista::advancednews
WWW::Search::AltaVista::AdvancedNews(3pm) User Contributed Perl Documentation WWW::Search::AltaVista::AdvancedNews(3pm)NAME
WWW::Search::AltaVista::AdvancedNews - class for advanced Alta Vista news searching
SYNOPSIS
use WWW::Search;
my $oSearch = new WWW::Search('AltaVista::AdvancedNews');
DESCRIPTION
This class implements the advanced AltaVista news search (specializing AltaVista and WWW::Search). It handles making and interpreting
AltaVista web searches http://www.altavista.com.
Details of AltaVista can be found at WWW::Search::AltaVista.
This class exports no public interface; all interaction should be done through WWW::Search objects.
AUTHOR
"WWW::Search" is written by John Heidemann, <johnh@isi.edu>.
COPYRIGHT
Copyright (c) 1996 University of Southern California. All rights reserved.
Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated
in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge
that the software was developed by the University of Southern California, Information Sciences Institute. The name of the University may
not be used to endorse or promote products derived from this software without specific prior written permission.
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.
perl v5.12.4 2011-11-02 WWW::Search::AltaVista::AdvancedNews(3pm)