develooper Front page | perl.beginners | Postings from February 2002

RE: change all files in directory

Thread Previous | Thread Next
Brett W. McCoy
February 1, 2002 11:13
RE: change all files in directory
Message ID:
On Fri, 1 Feb 2002, Booher Timothy B 1stLt AFRL/MNAC wrote:

> When I try to run the one-liners I get:
> Can't open *.cpp: Invalid argument.
> Can't open *.hpp: Invalid argument.
> But when I do a dir command I get:
> target_functions.cpp    target_modules.cpp      global_constants.hpp
> global_header.hpp       class_functions.cpp     S2b_4.opt
> Clearly these files are there . . . or am I just doing something silly . . .

Oh, you didn't say you were using Winders.  It doesn't like the single
quotes, so you will need to use double quotes, or do it as a script after

Or install CygWin, which has it's own build of Perl (and gcc, and bash,
and lots of other goodies that are sorely missed in the glorified DOS

-- Brett
Lady Nancy Astor:
	"Winston, if you were my husband, I'd put poison in your coffee."
Winston Churchill:
	"Nancy, if you were my wife, I'd drink it."

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About