Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.5
-
Fix Version/s: JRuby 1.2
-
Component/s: Miscellaneous
-
Labels:None
-
Number of attachments :
Description
From Ruby man page:
-i extension Specifies in-place-edit mode. The extension, if speci-
fied, is added to old file name to make a backup copy.
For example:
% echo matz > /tmp/junk
% cat /tmp/junk
matz
% ruby -p -i.bak -e '$_.upcase!' /tmp/junk
% cat /tmp/junk
MATZ
% cat /tmp/junk.bak
matz
Punting issues from 1.1 RC2 to 1.1 final.