bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#13693: M-x grep should do some basic parameter checking


From: jidanni
Subject: bug#13693: M-x grep should do some basic parameter checking
Date: Tue, 12 Feb 2013 13:49:04 +0800

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]