Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [Newbie] 'set|grep' doesn't work as expected



Således berettede Phil Pennock (Phil.Pennock@xxxxxxxxxxx) den [020525]:
> On 2002-05-24 at 20:27 -0300, Thiago F. G. Albuquerque wrote:
> > In bash I can type

> > set | grep <something>

> > and it's ok.

> > In zsh, it gives me the message:

> > Binary file (standard input) matches

> > Why?

> Because you have something in the environment with a non-plaintext
> representation.

I think that would be IFS. In bash the default is <space><tab><newline>,
while zsh add <nul> to these.

Peppe
-- 
                                      "Before you criticize someone, walk
Preben "Peppe" Guldberg  __/-\__       a mile in his shoes. That way, if
c928400@xxxxxxxxxxxxxx    (o o)        he gets angry, he'll be a mile away
----------------------oOOo (_) oOOo--  - and barefoot."    --Sarah Jackson



Messages sorted by: Reverse Date, Date, Thread, Author