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

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\

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

Replies are listed 'Best First'.
Re^4: Inplace editing, one liner, without a backup file?
by salva (Canon) on Aug 09, 2005 at 13:13 UTC
    them, adding something like
    BEGIN { @ARGV = map { glob $_ } @ARGV }
    to the one liner should do the trick.