Hallo.
Mit `…` bzw. $(…) startet man aber doch auch eine Subshell oder nicht?
Am 30.03.2011 23:06 schrieb "Michelle Konzack" <
linux4michelle@tamay-dogan.net>:
> Hello Alexander Skwar,
>
> Am 2011-03-30 09:12:39, hacktest Du folgendes herunter:
>> 2011/3/29 Thomas Hochstein <
thh@inter.net>:
>> > | for i in `mysql -u root -N -B -e "show databases;" | fmt`
>> > | do
>> IMO besser:
>> | mysql -u root -N -B -e "show databases;" | while read i
>> | do
>
> Das startet aber eine Extra-Shell für "while"
> und Du mußt it Umgebungsvariablen aufpassen.
>
> Thanks, Greetings and nice Day/Evening
> Michelle Konzack
>
> --
> ##################### Debian GNU/Linux Consultant ######################
> Development of Intranet and Embedded Systems with Debian GNU/Linux
>
> itsystems@tdnet France EURL itsystems@tdnet UG (limited liability)
> Owner Michelle Konzack Owner Michelle Konzack
>
> Apt. 917 (homeoffice)
> 50, rue de Soultz Kinzigstraße 17
> 67100 Strasbourg/France 77694 Kehl/Germany
> Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
> Tel: +33-9-52705884 fix
>
> <
http://www.itsystems.tamay-dogan.net/> <
http://www.flexray4linux.org/>
> <
http://www.debian.tamay-dogan.net/> <
http://www.can4linux.org/>
>
> Jabber
linux4michelle@jabber.ccc.de
> ICQ #328449886
>
> Linux-User #280138 with the Linux Counter,
http://counter.li.org/