From: Nick Croft <nicko@acay.com.au>
To: zsh-users@sunsite.dk
Subject: fc -l -m 'some pattern'
Date: Tue, 19 Mar 2002 22:53:46 +1100 [thread overview]
Message-ID: <20020319115346.GI16775@acay.com.au> (raw)
I'm new at using zsh. Working through a tutorial.
I read that
Using the -m flag in conjunction with -l, you can specify a pattern.
(don't forget to quote the pattern!). Then, only commands matching
the pattern will be displayed.
So for example, if
fc -l -300 -285
shows that I used vim in a command a number of times, to isolate only the
'vim' occurrences should I not type
fc -lm "vim" -300 -285 ?
Or do you need the entire command line? (That would be a severe
limitation I think).
Thanks,
Nick
next reply other threads:[~2002-03-19 11:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-19 11:53 Nick Croft [this message]
2002-03-19 12:16 ` Sven Wischnowsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020319115346.GI16775@acay.com.au \
--to=nicko@acay.com.au \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).