<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Package: ack-grep
<br>
Version: 1.96-1
<br>
Severity: normal
<br>
<br>
According to the manpage:<br>
<br>
<blockquote type="cite">Ack-Grep searches the named input FILEs (or
standard input if no files are named) for lines containing a match
to the given PATTERN.</blockquote>
<br>
This is ambiguous, but I think the most likely interpretation is the
following:<br>
If no files are named, standard input is searched. If files are
named, they are searched.<br>
<br>
Both possible interpretations are wrong anyway. In reality, the
first thing that determines behavior is whether ack-grep has an
stdin. If it does, stdin is searched (and named files are ignored:
"ack-grep: Ignoring 1 argument on the command-line while acting as a
filter.").<br>
If it doesn't:<br>
<ul>
<li>If files are named, these are the targets.</li>
<li>If no files are named, files in the current directory are the
targets.</li>
</ul>
<p><br>
BTW, the man page is named ACK-BASE, for no apparent reason.
</p>
</body>
</html>