Re: ile, grep

From: Michele Andreoli (m.andreoli@tin.it)
Date: Thu Sep 07 2000 - 09:46:54 CEST


On Thu, Sep 07, 2000 at 02:41:50AM +0200, Denis Bredelet nicely wrote:
> I have two concerns with mulinux:
>
> 1) I tried to remove the command history with no success
> I went in the "misc" section of setup. When I say "no" to command
> history, ile is still loaded at startup. I checked that
> /etc/history.conf no longer exists. However, I could not find where this
> file is used again...

You have to close the shell and login again, because ILE is still running.
If that does not works, well: you have to save the profile and ... reboot,
as in Windows :-(

>
> 2) Grep will stop when it could not read a file. Typically I tried grep
> "mystring" *...

This is the rustic grep: rgrep (rustic-grep). It accept file only on
standard input, sorry. I use it in this way:

                cat file | rgrep string

Anyway, it set the return code $?.

> But it did not complete because of directories. Fgrep
> works, though. So one can use fgrep instead of grep to solve the
> problem...

fgrep in muLinux is only a very ugly script, sorry. It is strongly
deprecated.

Michele

-- 
I'd like to conclude with a positive statement, but I can't 
remember any. Would two negative ones do?       -- Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:15 CET