Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Somehow smoking a pipe twice...?
- X-seq: zsh-users 17297
- From: meino.cramer@xxxxxx
- To: zsh-users@xxxxxxx
- Subject: Somehow smoking a pipe twice...?
- Date: Sun, 30 Sep 2012 14:27:40 +0200
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi,
Is this possible somehow with zsh?
My first command runs inside my mailfolder and looks like this
ls -l `grep -l kolkrabe *`
which give me a list of all files which contains the word "Kolkrabe"
("Kolkrabe" is german for "common raven". Latin "Corvus corax").
But additionally I want to know the contents of the line, which
matches the grep command added to the end of the line "ls -l"
shows for each file. That is the output of
grep -i "Kolkrabe" *
How can I combine both to one command ?
Thank you very much for any help in advance!
Best regards,
mcc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author