Namazu-devel-ja(旧)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
途中で消した時 (Re: prepare to release 2.0.9)
- From: 藤原 誠 / Makoto Fujiwara <makoto@xxxxx>
- Date: Fri, 30 Nov 2001 11:30:42 +0900
- X-ml-name: namazu-devel-ja
- X-mail-count: 02190
- References: <200111300205.LAA16129@ns1.eal.or.jp>
> 千葉市中央区長洲
> 藤原 誠
野首> >> http://www.namazu.org/ml/namazu-devel-ja/msg02088.html
野首> うーん、新しい fix を追加します? できれば一旦リリースしてからにした
野首> いのですけれども、どうでしょうか。
はい、そうして下さい。
またまた直接関係ないのですが、良く似ていて、以前、僕が間違えてしまった
「途中で消した時」問題
は解決していることを確認しました。
参考:
http://www.namazu.org/ml/namazu-devel-ja/msg01227.html
http://www.namazu.org/ml/namazu-users-ja/msg02073.html
以下確認記録
makoto@u ■11:26:28/011130(/tmp)> cd test
makoto@u ■11:26:30/011130(/tmp/test)> mkdir ml
makoto@u ■11:26:42/011130(/tmp/test)> mkdir index
makoto@u ■11:26:54/011130(/tmp/test)> cp ~/Mail/ml/namazu/537? ml
makoto@u ■11:27:21/011130(/tmp/test)> which mknmz
/usr/local/bin/mknmz
makoto@u ■11:27:27/011130(/tmp/test)> mknmz --version
mknmz of Namazu 2.0.9rc1
Copyright (C) 1997-1999 Satoru Takabayashi All rights reserved.
Copyright (C) 2000,2001 Namazu Project All rights reserved.
This is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
makoto@u ■11:27:33/011130(/tmp/test)> ./test-script
copying ml/* to files/
file to be removed: 5370
Looking for indexing files...
10 files are found to be indexed.
1/10 - /tmp/test/files/5370 does NOT EXIST! skipped.
1/9 - /tmp/test/files/5371 [message/rfc822]
2/9 - /tmp/test/files/5372 [message/rfc822]
3/9 - /tmp/test/files/5373 [message/rfc822]
4/9 - /tmp/test/files/5374 [message/rfc822]
5/9 - /tmp/test/files/5375 [message/rfc822]
6/9 - /tmp/test/files/5376 [message/rfc822]
7/9 - /tmp/test/files/5377 [message/rfc822]
8/9 - /tmp/test/files/5378 [message/rfc822]
9/9 - /tmp/test/files/5379 [message/rfc822]
Writing index files...
[Base]
Date: Fri Nov 30 11:27:40 2001
Added Documents: 9
Size (bytes): 24,323
Total Documents: 9
Added Keywords: 824
Total Keywords: 824
Wakati: module_kakasi -ieuc -oeuc -w
Time (sec): 3
File/Sec: 3.00
System: netbsd
Perl: 5.006001
Namazu: 2.0.9rc1
makoto@u ■11:27:40/011130(/tmp/test)> cat test-script
#!/usr/local/bin/perl
$files = 'files';
if ( -d $files ) {
print "$files exists, removing\n";
system("rm -rf $files");
}
print "copying ml/* to files/\n";
system('cp -pr ml files');
$remove =`/bin/ls files | head -1`;
print "file to be removed: $remove\n";
open(MKNMZ,'env LANG=C mknmz -f /dev/null -O index files|');
while(<MKNMZ>) {
print ;
if ( /files are found to be indexed/ ) {
system("rm files/$remove")}}
makoto@u ■11:27:54/011130(/tmp/test)>
---
(藤原)
http://www.ki.nu/software/NetBSD/iBook2/
http://www.ki.nu/software/namazu/tutorial/