in reply to Re: Inplace editing, one liner, without a backup file?
in thread Inplace editing, dos one liner, without a backup file?

Actually I'm removing them in subversion, on commit, with the pretty tortoisesvn gui interface. (I select all the .bak files and delete).

I couldn't get the pie trick to work from dos with or without the *.*. Am I doing something wrong? (See my reply to fletch.)

  • Comment on Re^2: Inplace editing, one liner, without a backup file?

Replies are listed 'Best First'.
Re^3: Inplace editing, one liner, without a backup file?
by gellyfish (Monsignor) on Aug 09, 2005 at 13:06 UTC

    Unlike the shells found on most Unix-like operating systems - the Windows command prompt ( and the MS-DOS command.com before it) does not expand the "wildcard" parameters before passing them as arguments to a program - it is left to the program itself to do that.

    /J\

      them, adding something like
      BEGIN { @ARGV = map { glob $_ } @ARGV }
      to the one liner should do the trick.