You probably already noticed it, but don't forget to add "index." to that. I thought you were only looking for an html file and missed the fact that you need "index.html"
guys,
my requirment goes like this:
I have a file, and wish to filter out records where
1. The first letter is o or O
and
2. The next 4 following letter should not be ther
I do not wish to use pipe and wish to do it in one shot.
The best expression I came up with is:
grep ^*... (10 Replies)
When i do ls -ld RT_BP* i am getting the following list.
drwxrwx--- 2 user group 256 Oct 17 10:09 RT_BP809
drwxrwx--- 2user group 256 Oct 17 10:09 RT_BP809.O
drwxrwx--- 2 user group 256 Oct 17 10:09 RT_BP810
drwxrwx--- 2user group 256 Oct... (2 Replies)
Hi, guys. I have one question, hope somebody can give me a hand
I have a file called passwd, the contents of it arebelow:
***********************
...
goldsimj:x:5008:200:
goldsij2:x:5009:200:
whitej:x:5010:201:
brownj:x:5011:202:
goldsij3:x:5012:204:
greyp:x:5013:203:
...... (6 Replies)
please can someone tell me what the following regrex means
grep "^aa*$" <file>
I thought this would match any word beginning with aa and ending with $, but it doesnt.
Thanks in advance
Calypso (7 Replies)
I have the following code:
ls -al /bin | tr -s ' ' | grep 'x'
ls -al: Lists all the files in a given director such as /bin
tr -s ' ': removes additional spaces between characters so that there is only one space
grep 'x': match all "x" characters that are followed by a whitespace.
I was... (3 Replies)
Hi all,
How am I read a file, find the match regular expression and overwrite to the same files.
open DESTINATION_FILE, "<tmptravl.dat" or die "tmptravl.dat";
open NEW_DESTINATION_FILE, ">new_tmptravl.dat" or die "new_tmptravl.dat";
while (<DESTINATION_FILE>)
{
# print... (1 Reply)
i have a command line like this in csh script
grep -i "$argv$"
which i wanted to select the line ending with string provided as argument but it couldn't interpret the '$' (ending with)..
any help? (3 Replies)
Hi ,
I have few lines like
A20120101.ANU.ZIP
A20120401.ABC.ZIP
A20120105.KJK.ZIP
A20120809.JUG.ZIP
A20120101.MAT.ZIP
B20120301.ANU.XIP
I want to filter by
1. Files starting with A and Ending With Z ( ^A.*.ZIP$)
2. And either ANU, or KJK or MAT in the file name.
Hope my... (6 Replies)
I want to track only below:
I am using below, but it doesn't work: (6 Replies)
Discussion started by: proactiveaditya
6 Replies
LEARN ABOUT DEBIAN
pinot-index
PINOT-INDEX(1) User Commands PINOT-INDEX(1)NAME
pinot-index - Index documents from the command-line
SYNOPSIS
pinot-index [OPTIONS] --db DATABASE URLS
DESCRIPTION
pinot-index - Index documents from the command-line
OPTIONS -b, --backend
name of back-end to use (default xapian)
-c, --check
check whether the given URL is in the index
-d, --db
path to, or name of, index to use (mandatory)
-h, --help
display this help and exit
-i, --index
index the given URL
-s, --showinfo
show information about the document
-v, --version
output version information and exit
Supported back-ends are : 'xapian'
EXAMPLES
pinot-index --check --showinfo --backend xapian --db ~/.pinot/daemon ../Bozo.txt
pinot-index --index --db PinotOnTheWeb http://code.google.com/p/pinot-search/
Indexing documents to My Web Pages or My Documents with pinot-index is not recommended
REPORTING BUGS
Report bugs to fabrice.colin@gmail.com
This is free software. You may redistribute copies of it under the terms of the GNU General Public License
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>.
There is NO WARRANTY, to the extent permitted by law.
pinot-index - pinot 1.0 June 2012 PINOT-INDEX(1)