Argument mapping issue of awk
Ondrej Zima
amiandrew at volny.cz
Wed Apr 21 23:31:43 UTC 2010
Hi all,
I have one big problem using busybox with uClibc in embedded device with
mipsel architecture.
A creating some sh scripts where most used application is awk. I create
some scripts and they didn't works.
See following simple example:
echo "a b c" | awk '{ print "a="$1",b="$2",c="$3; }'
If I use it in my desktop Linux (Debian x86_64) the output is (as expected)
ondra at keltek:~$ echo "a b c" | awk '{ print "a="$1",b="$2",c="$3; }'
a=a,b=b,c=c
But if I make the same on my busybox device, the output is wrong
default at Venus:~# echo "a b c" | awk '{ print "a="$1",b="$2",c="$3; }'
a=,b=,c=
The mapping of arguments didn't works. And I don't know, what is wrong.
The uClibc or busybox or something other?
--
Ondrej Zima <amiandrew at volny.cz>
--==[ http://www.fozona.cz/ ]==--
More information about the busybox
mailing list