unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13693: M-x grep should do some basic parameter checking
@ 2013-02-12  5:49 jidanni
  2013-02-12 17:52 ` Juri Linkov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: jidanni @ 2013-02-12  5:49 UTC (permalink / raw)
  To: 13693

Why doesn't M-x grep check that it has been given at least two
parameters, else it is bound to fail, as
$ grep
$ grep pattern
won't get far without some file arguments.

Yes
$ grep pattern pattern #wrong
will still pass as that would look the same as
$ grep pattern file
etc. but the check would be better than nothing.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-02-14  9:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-12  5:49 bug#13693: M-x grep should do some basic parameter checking jidanni
2013-02-12 17:52 ` Juri Linkov
2013-02-12 21:02 ` jidanni
2013-02-13  8:46   ` Juri Linkov
2013-02-13  8:55 ` jidanni
2013-02-14  9:23   ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).