[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

grep (was Re: thunderbird and evolution)

On 2009-03-29 02:54, Celejar wrote:
On Sun, 29 Mar 2009 00:49:55 -0500
Ron Johnson <ron.l.johnson@cox.net> wrote:


$ cat .muttrc | grep imap

Superfluous use of cat.

$ grep .muttrc imap

$ grep .muttrc imap
grep: imap: No such file or directory

$ grep imap .muttrc
set imap_user=me
set spoolfile=imap://haggis/INBOX
set folder=imap://haggis/INBOX.
set record=imap://haggis/INBOX/Sent

The search phrase must go first because grep doesn't know whether the input is a pipe or a "real" file. Which I understand but don't like.

Ron Johnson, Jr.
Jefferson LA  USA

"Freedom is not a license for anarchy."

Reply to: