Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Newbie] 'set|grep' doesn't work as expected
- X-seq: zsh-users 4987
- From: Preben Peppe Guldberg <c928400@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: [Newbie] 'set|grep' doesn't work as expected
- Date: Sat, 25 May 2002 01:59:34 +0200
- Cc: "Thiago F. G. Albuquerque" <tfga@xxxxxxxxxxxx>
- In-reply-to: <20020525020943.A29770@xxxxxxxxxxx>; from "Phil Pennock" on [020525] at 02:09:43
- Mail-followup-to: Preben Peppe Guldberg <c928400@xxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxx, "Thiago F. G. Albuquerque" <tfga@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <02052420275401.00771@xxxxxxxxxxxxxxxxxxxxxx> <20020525020943.A29770@xxxxxxxxxxx>
- Reply-to: Preben Peppe Guldberg <c928400@xxxxxxxxxxxxxx>
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