[Chicago-talk] process multiple file on windows

Jonathan Rockway jon-chicagotalk at jrock.us
Mon Jan 12 12:16:22 PST 2009

* On Mon, Jan 12 2009, tiger peng wrote:
> Hello,
> Could anyone tell me how to process multiple files with command line on Windows?
> Here is what I got:
> perl -nle "print if /abv/" *.txt
> Can't open *.txt: Invalid argument.

Are there any files named *.txt?

If so, use cygwin or use glob inside your script.

print just => another => perl => hacker => if $,=$"

More information about the Chicago-talk mailing list