pstray / rename

Rename renames the filenames supplied according to the rule specified as the first argument. The argument is a Perl expression which is expected to modify the $_ string for at least some of the filenames specified.
Other
6 stars 1 forks source link

Example in man page gives error #4

Closed robin-a-meade closed 3 years ago

robin-a-meade commented 3 years ago

This example in the man page hangs waiting for input:

rename 's/$/.orig/ */*.[ch]'    # add .orig to source files in */
pstray commented 3 years ago

Yes, definitely, that example has the last ' in the wrong place...