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

RE: change all files in directory

Thread Previous | Thread Next
From:
Brett W. McCoy
Date:
February 1, 2002 11:13
Subject:
RE: change all files in directory
Message ID:
Pine.LNX.4.43.0202011416570.29068-100000@chapelperilous.net
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
all.

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
shell).

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About