|
From: | Paola Attadio |
Subject: | Re: Change a keyword for another keyword |
Date: | Wed, 09 Feb 2005 16:15:04 -0300 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) |
Mark, thank you very much!!!!!!!!!!!!!! Best Regards, Paola Mark E. Hamilton wrote:
Paola Attadio wrote:I get the next error message: sed: invalid option -- iClearly your sed() doesn't support the '-i/--in-place' option. Something like this shell script should work instead:#!/bin/bash for f in $(find . -name CVS -prune -o -type f) do sed 's/\$revision_history[^\$]*/$Log/g' $f > blarg && mv blarg $f done
[Prev in Thread] | Current Thread | [Next in Thread] |