r6440 - in trunk/BOOK: general/prog introduction/welcome

Bruce Dubbs bruce.dubbs at gmail.com
Sat Jan 20 16:36:08 PST 2007

randy at linuxfromscratch.org wrote:

> +<screen><literal>For <application>Spiffy</application>:     
    <command>sed -i 's,\xc3\xb6,o,' lib/Spiffy.pm</command>
> +
> +For <application>Test::Base</application>: <command>sed -i 's,\xc3\xb6,o,' \
> +                  lib/Test/Base{,/Filter}.pm \
> +                  lib/Module/Install/TestBase.pm</command>
> +
> +For <application>YAML</application>:       <command>sed -i 's,\xc3\xb6,o,' \
> +                  ysh lib/Test/YAML.pm \
> +                  lib/YAML.pm \
> +                  lib/YAML/{Types,Node,Error,Marshall,Tag,Base}.pm \
> +             lib/YAML/{Loader,Dumper}{,/Base}.pm</command></literal></screen>

A suggestion: Why not use the same command for all three?

find lib/ -name \*.pm -exec sed -i 's,\xc3\xb6,o,' {} \;

I suppose that misses the ysh file.  How about:

grep -rl $'\xc3\xb6' * | xargs sed -i 's,\xc3\xb6,o,g'

Also, you characterize the files as "UTF-8 encoded manual pages."  I
think that is slightly misleading.  I would say "manual pages with a few
embedded non-ASCII characters."

I suppose I should drop this.  It's not really a big deal.  I've had my
say.  I'll agree with whatever you end up doing.  No need to reply.

  -- Bruce

More information about the blfs-book mailing list