Author: Sheri Date: To: pcre-dev Subject: Re: [pcre-dev] Suggested addition for pcregrep
On 10/28/2011 11:56 AM, Philip Hazel wrote: > On Fri, 28 Oct 2011, Sheri wrote:
>
>> Could you please add an option for naming a file that contains a list of files
>> to be searched? Possibly --filelist=
> Noted. Sounds perfectly reasonable.
>
>> Since globbing doesn't work at all when pcregrep is built in some
>> environments, the user could create a list by piping from the dir command.
> Presumably the files in the list are newline-separated (that is, by
> CRLF)? The option should probabably allow for any ASCII newline
> separator.
>
> Philip
> Yes, one file name per line. Maybe the new option could optionally
indicate standard input? To allow the output from something as file list
input to pcregrep? In other options standard input is indicated with a
dash, so possibly --filelist=-