On Apr 27, 2015, at 8:54 AM, Jeff Squyres (jsquyres) <jsquy...@cisco.com> wrote:

> Neat trick about perl -pie; I wasn't aware of that.

Make sure to write it as "-pi -e" (as Paul had it) or "-p -i -e", or it 
probably won't do what you expect.

>> On Apr 23, 2015, at 10:42 PM, Paul Hargrove <phhargr...@lbl.gov> wrote:
>> 
>> Since perl is already required for autogen, you could replace sed+whatever 
>> with perl's in-place operation
>> perl -pi -e 's/from/to/' -- file(s)

-Dave

Reply via email to