namazu-users-en
[Top] [All Lists]

semicolon to separate inside of --replace (Re: One index for two locations)

2003-06-25 20:03:48

mef>       --replace 's#www/docroot/#http://servername/#\
                                                       ===
Sorry, one semicolon is important after #, to separate
perl sentences.

That should be read as:

mkdir      /ext/namazu-index
cd /
mknmz -O   /ext/namazu-index   \
      --replace 's#www/docroot/#http://servername/#;\
                 s#ext/archive/#http://servername/archive#'\
      www/docroot ext/archive
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

<Prev in Thread] Current Thread [Next in Thread>