printf without any argument exits ash

Alexander Griesser alexander.griesser at lkh-vil.or.at
Wed Dec 10 10:51:58 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Another strange problem I encountered today and I'm not sure if it's my
fault:

When running busybox on my desktop system (or on my thinclients, doesn't
matter) I encountered a strange problem with the "printf" applet today
(v1.13.1):

I can start the ash shell normally and can use "printf" to draw some
text on the screen.

tuxx at vi-edv003:~/busybox/busybox-1.13.1$ ./busybox ash
~/busybox/busybox-1.13.1 $ printf "this works\n"
this works


But, when I run "printf" without any argument, it simply kills the shell
as you can see here:

~/busybox/busybox-1.13.1 $ printf
BusyBox v1.13.1 (2008-12-09 10:34:51 CET) multi-call binary

No help available.

tuxx at vi-edv003:~/busybox/busybox-1.13.1$
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I'm dropped out of busybox ash, back into my bash shell on the host
system. On the thinclient, it even kicks me out of the console and
I have to relogin, because ash is the loginshell there.

Attached is my configuration file for bb1.13.1.

ciao,
- --
Alexander Griesser (Netzwerkadministration)
E-Mail: alexander.griesser at lkh-vil.or.at | Web: http://www.lkh-vil.or.at
KABEG LKH Villach | Nikolaigasse 43 | 9500 Villach
Tel.:   +43 4242 208 3061 | Fax.:   +43 4242 208 971 3061
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk/n00ACgkQ66HVD6KUm1qKVQCePtADkM5BuZfiSr2hfLQuempi
rVsAn1o37E7jemO8jSu/GiC1fqURpv6f
=oid/
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: .config
Url: http://lists.busybox.net/pipermail/busybox/attachments/20081210/e80764fe/attachment.diff 


More information about the busybox mailing list