applet-request: expand
Alfred Zastrow
ml at zastrow4u.de
Mon Aug 6 18:56:30 UTC 2007
Denis Vlasenko schrieb:
> On Sunday 05 August 2007 18:40, Alfred Zastrow wrote:
>> Hello list,
>>
>> glibc-2.6.1 compiles fine by using most of the applets of busybox-1.6.1,
>> but "expand" of coreutils is still missing:
>>
>> ----------snip----------------
>> sed -e 's,[{}],@&,g' \
>> -e 's,/\*\(@.*\)\*/,\1,g' \
>> -e 's,/\* *,/* @r{,g' -e 's, *\*/,} */,' \
>> -e 's/\(@[a-z][a-z]*\)@{\([^}]*\)@}/\1{\2}/g'\
>> examples/stpcpy.c | expand > stpcpy.c.texi.new
>> /bin/sh: line 4: expand: command not found
>> make[2]: *** [stpcpy.c.texi] Error 127
>> make[2]: Leaving directory `/build/glibc-2.6.1/manual'
>> make[1]: *** [manual/subdir_install] Error 2
>> make[1]: Leaving directory `/build/glibc-2.6.1'
>> make: *** [install] Fehler 2
>> ----------snap----------------
>>
>> Is there any chance to get this in?
>
> I read the expand manpage. I'd say it's not that hard. Wanna try? ;)
Yes, please.
My 1st thought was to create a shell wrapper with `tr`, but a more
professional solution (without patching the source) would be much more
nicer.
Regards
Alfred
More information about the busybox
mailing list