[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
*grep* buffer has no result with lgrep.exe
- X-ml-count: 4114
- Subject: *grep* buffer has no result with lgrep.exe
- From: "T.Fukagawa" <tfukaga@xxxxxxxxx>
- Date: Tue, 23 Apr 2002 00:48:03 +0900
- User-agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryōmae) APEL/10.3 Emacs/20.7 (i386-*-nt5.0.2195) MULE/4.1 (AOI) Meadow/1.15pre1 (SHOUBU:63)
深川です。
Meadow 1.15 を使ってます。
(setq grep-command "grep.exe -ni ") という設定で、M-x grep した場合、
*grep* のバッファに以下の結果が出力されます。
-------------------------------ここから-------------------------------
cd d:/usr/home/toy/
grep.exe -ni setq .emacs NUL
.emacs:9:;;(setq debug-on-error t)
.emacs:10:;;(setq debug-on-error nil)
.emacs:13:(setq explicit-shell-file-name "bash.exe")
.emacs:14:(setq shell-file-name "sh.exe")
.emacs:15:(setq shell-command-option "-c") ; for sh
.emacs:16:(setq shell-command-switch "-ic")
-------------------------------ここまで-------------------------------
(setq grep-command "lgrep.exe -n -Ks -Os ") という設定に変更した場合、
*grep* のバッファは下記のようになり、結果が出力されます。
-------------------------------ここから-------------------------------
cd d:/usr/home/toy/Mail/draft/
lgrep.exe -n -Ks -Os setq .emacs NUL
grep finished with no matches found at Tue Apr 23 00:40:01
-------------------------------ここまで-------------------------------
コマンドを bash から直に叩くと、下記の結果が出ます。
-------------------------------ここから-------------------------------
CRUSOE:toy[503]> lgrep.exe -n -Ks -Os "setq" .emacs
9:;;(setq debug-on-error t)
10:;;(setq debug-on-error nil)
13:(setq explicit-shell-file-name "bash.exe")
14:(setq shell-file-name "sh.exe")
15:(setq shell-command-option "-c") ; for sh
16:(setq shell-command-switch "-ic")
-------------------------------ここまで-------------------------------
lgrep.exe は Cygwin 環境で自分でコンパイルしたもので、Meadow 1.14 の時
は、検索結果は正しく出力されていたように記憶しています。grep.exe が動
いているので、lgrep.exe が期待された通りでないのだろうと思うのですが、
何か設定が必要なのでしょうか。
よろしくお願いします。
----
T.Fukagawa
tfukaga@xxxxxxxxx