On 08:21 24 Jun 2003, Jon Haugsand <[EMAIL PROTECTED]> wrote:
| * Cameron Simpson
| >
| > I tend to do this:
| >     find dir -type f -name '*.html' -exec bsed 
's|this|long/thing/with/slashes/this|g' {} ';'
| > or just:
| >     bsed 's|this|long/thing/with/slashes/this|g' *.html
| > for just the .html files in the current directory.
| 
| As far as I understood the question, you have to replace relative
| addresses with correct absolute ones.  This means some intelligence in
| the 'long/thing/with/slashes/' thing.  E.g. like this:

You're quite correct in this regard.
My example is not that intelligent.
-- 
Cameron Simpson <[EMAIL PROTECTED]> DoD#743
http://www.cskk.ezoshosting.com/cs/

A pessimist is an optimist in full possession of the facts.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to