wc in Bootscripts
dj at linuxfromscratch.org
Thu Apr 7 20:26:09 PDT 2005
Matthias Berndt wrote:
> wouldn't it make sense to move 'wc' from '/usr/bin' to '/bin' like
> other tools in the coreutils-package to prevent some more or less
> cryptic constructions in '/etc/rc.d/init.d/functions'? FHS don't tell me
> anything against this idea.
> Matthias Berndt
You are refering to the character counting in boot_mesg().
Unfortunately, wc is plain messed up WRT UTF8. libtextwrap would have
been a much better solution, but not fitting for a base LFS. Take a
look at these threads in the archives for a little background information.
This thread started in October 2004:
and ending in November 2004:
-- DJ Lucas
More information about the lfs-dev