I have a file which contains several lines. Sample content of the file is as below.
OK testmessage email<test@123>
NOK receivemessage email<123@test>
NOK receivemessage email(123@test123)
NOK receivemessage email<abc@test>
i would like to know by scripting will... (10 Replies)
Can someone tell me how I can do this?
e.g:
Say file1.txt contains:
today is monday
the 22 of
NOVEMBER
2010
and file2.txt contains:
the
11th
month
of
How do i replace the word NOVEMBER with (5 Replies)
if the first string matches then print the previous line and current line and also print the following lines if the other string search matches.
Input
------
TranTime 2012 10 12
The Record starts here
Accountnumber: 4632473431274
TxnCode 323
TranID 329473242834
ccsdkcnsdncskd... (7 Replies)
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
Hi,
I am trying to remove lines once a string is found till another string is found including the start string and end string. I want to basically grab all the lines starting with color (closing bracket). PS: The line after the closing bracket for color could be anything (currently 'more').... (1 Reply)
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB and add/replace... (1 Reply)
Dear All
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB... (5 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 Everyone,
I have a requirement in ksh where i have a set of files in a directory. I need to search each and every file if a particular string is present in the file, delete that line and replace that line with another string expression in the same file.
I am very new to unix. Kindly help... (10 Replies)
Discussion started by: Pradhikshan
10 Replies
LEARN ABOUT DEBIAN
swish-e
SWISH-E(1) SWISH-E Documentation SWISH-E(1)NAME
Swish-e - A Search Engine
SYNOPSIS
swish [-e] [-i dir file ... ] [-S system] [-c file] [-f file] [-l] [-v (num)]
swish -w word1 word2 ... [-f file1 file2 ...]
[-P phrase_delimiter] [-p prop1 ...] [-s sortprop1 [asc|desc] ...]
[-m num] [-t str] [-d delim] [-H (num)] [-x output_format]
swish -k (char|*) [-f file1 file2 ...]
swish -M index1 index2 ... outputfile
swish -N /path/to/compare/file
swish -V
See the the SWISH-RUN(1) man page for details on run-time options.
DESCRIPTION
Swish-e is Simple Web Indexing System for Humans - Enhanced. Swish-e can quickly and easily index directories of files or remote web sites
and search the generated indexes.
Swish-e is extremely fast in both indexing and searching, highly configurable, and can be seamlessly integrated with existing web sites to
maintain a consistent design. Swish-e can index web pages, but can just as easily index text files, mailing list archives, or data stored
in a relational database.
Swish is designed to index small to medium sized collection of documents, Although a few users are indexing over a million documents, typi-
cal usage is more often in the tens of thousands. Currently, Swish-e only indexes eight bit character encodings.
DOCUMENTATION
Documentation is provided as HTML pages installed in $prefix/share/doc/swish-e where $prefix is /usr/local if building from source, or /usr
if installed as part of a package from your OS vendor. Under Windows $prefix is selected at installation time.
Documentation is also available on-line at http://swish-e.org.
A subset of the documentation is installed as system man pages as well. The following man pages should be installed:
swish-e(1)
This man page.
SWISH-CONFIG(1)
Defines options that can be used in a configuration file.
SWISH-RUN(1)
Describes the run-time options and switches.
SWISH-FAQ(1)
Answers to commonly asked questions.
SWISH-LIBRARY(1)
API for the Swish-e search library. Applications can link against this library.
SUPPORT
Support for Swish-e is provide via the Swish-e discussion list. See http://swish-e.org for information.
2.4.7 2009-04-04 SWISH-E(1)