John Fiore on 2 Dec 2003 16:19:09 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] search and replace multiple files?


That did it.  Thanks.

--- gabriel rosenkoetter <gr@eclipsed.net> wrote:
> On Tue, Dec 02, 2003 at 01:09:27PM -0800, John Fiore
> wrote:
> >       perl -pie 's/foo/bar/' file1
> > 
> > I get the error:
> >      Can't open perl script "s/foo/bar/": No such
> file
> > or directory
> 
> Try perl -pi -e 's/foo/bar/' <files>
> 
> Parsing of -e as part of a block of switches appears
> to be broken,
> at least with my copy of 5.6.1.
> 
> -- 
> gabriel rosenkoetter
> gr@eclipsed.net
> 

> ATTACHMENT part 2 application/pgp-signature 


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug