meant OR...i.e Jolly OR Brewers....and not both. I guess it must be the brackets that change the meaning slightly
A very similar question comes from Solaris SCSAS exam
Quote:
Originally Posted by pseudocoder
Maybe this excerpt from the egrep man page will help you to better understand how egrep works, note the sentence that I have underlined:
DESCRIPTION grep searches the named input FILEs (or standard input if no files are named, or the file name - is given) for lines containing a match to the given PATTERN. By default, grep prints the matching lines.
---------- Post updated at 00:54 ---------- Previous update was at 00:50 ----------
I have a PERL script from which I need to make a HTTP request to Web Servlet (Essentially a URL with variables and values like &Variable1=AAAAAA&Variable2=BBBBBBBBB&Variable3=CCCCCCC). The Web servlet returns an XML result which needs to be parsed for the contents of the result within the program.... (15 Replies)
How can i make something like
if (echo "$arg2" | egrep -s '^+\.+km/h+$|^+km/h+$'); then
not to output the value of $arg2 on the screen, evertime i get match it outputs the value of the variable on the screen which i don't need to do. I know for grep its -q option but it doesn't work for egrep.... (2 Replies)
Hi I've been searching google and have not found what egrep -c means. Does anyone know where I can get a cheat sheet or what that -c means?
thanks,
Linda (2 Replies)
Hi Guys,
we have a shell script which basically query the Database which retrieves huge data and use the data with "egrep" .
Now there is some data which contains characters like "abc)" and the same is used like below :
"egrep (.+\|GDPRAB16\|GDPR/11702 96 abc)\|$ temp.txt"
now while... (7 Replies)
I would like to use the result of a query in another query. How do I redirect/add the output to another variable?
$result = odbc_exec($connect, $query);
while ($row = odbc_fetch_array($result)) {
echo $row,"\n";
}
odbc_close($connect);
?>
This will output hostnames:
host1... (0 Replies)
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Hi All,
I am having a query regarding the usage of egrep command.
i am having two unix environmanets in environment when i am using
"egrep -f" it is working fine and other unix environment i am getting a syntax error.
Please let me know if i need to set any environmane variables.
... (12 Replies)
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Hello All,
I have a requirement in which i will be given a sql query as input in a file with dynamic number of columns. For example some times i will get 5 columns, some times 8 columns etc up to 20 columns.
So my requirement is to generate a output query which will have 20 columns all the... (7 Replies)
Discussion started by: vikas_trl
7 Replies
LEARN ABOUT DEBIAN
recoll
RECOLL(1) General Commands Manual RECOLL(1)NAME
recoll - user interface for the Recoll full text search system
SYNOPSIS
recoll [ -c <configdir> ] [ -o | -l | -f | -a ] [ -t ] [ -q <query> ]
DESCRIPTION
The recoll command will start the graphical user interface for querying the Recoll database.
On the first run, recoll will create the user configuration which can be customized before starting the first indexation.
The -c option specifies the configuration directory name, overriding the default or $RECOLL_CONFDIR.
The -q option can be used to specify an initial query on the command line. This query will be interpreted by default as a query language
string. If -a is specified, the query string will be interpreted as an all words simple search query. If -o is specified, the query string
will be interpreted as an any word simple search query. If -f is specified, the query string will be interpreted as a file name simple
search query. If -l is specified, the query string will be interpreted as a query language simple search query.
If -t is specified, the Graphical User Interface will not be started, and results will be printed to the standard output. Additional
options understood by the recollq command may be specified in this case. These can control the output format and the maximum number of
results to be printed.
Please refer to online help for a full description.
SEE ALSO recollindex(1)recollq(1)recoll.conf(5)
8 January 2006 RECOLL(1)