[oak perl] A Simple Problem

Zed Lopez zed.lopez at gmail.com
Mon Mar 7 23:48:30 PST 2005


to change 'x' to 'q':

perl -pi.bak -e 's/x/q/g' filename

leaves a backup of the original in filename.bak


On Mon, 7 Mar 2005 22:19:33 -0800, George Woolley <george at metaart.org> wrote:
> What would be a good way to change
> all instances of a specified character in a specified file
> to a specified character?


More information about the Oakland mailing list