[BusyBox] Re: about making
Nazım Koç
kocnazim at superonline.com
Sun Dec 24 09:02:21 UTC 2000
I may be in wrong. But I get some
interesting results. First of all,
$ tr 'A-Z' 'a-z' < tmp2 > tmp3
$ grep cmdedit tmp3
gives expected result, cmdedit.c.
But the commands, you sent, do not
give expected results. Because all
the 'I' characters are translated to
'ı' characters. ( It does not exist
in the English alphabet, perhaps
you could not see it at your own screen ).
Here are the commands you sent:
-------------------------------------
gcc -E -dM ${1:-Config.h} >tmp1
grep -i cmdedit tmp1
sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' <tmp1 >tmp2
grep -i cmdedit tmp2
tr '[:upper:]' '[:lower:]' <tmp2 >tmp3
# At this level, I substitued all the 'ı'
# characters by i, by means of vi editor.
grep -i cmdedit tmp3
And the head of the tmp3 file:
-----------------------------------
dos2unıx.c
makedevs.c
taıl.c
fsck_mınıx.c
deallocvt.c
reset.c
loadkmap.c
uuencode.c
renıce.c
test.c
Regards,
- Nazım
On Sat, 23 Dec 2000 larry at doolittle.boa.org wrote:
> Does
> $ tr 'A-Z' 'a-z' <tmp2 >tmp3
> $ grep cmdedit tmp3
> give "cmdedit.c", given your locale?
>
> If so, we need to change the tr command in busybox.sh.
More information about the busybox
mailing list