2012/6/23 Keith McKenzie <km3...@gmail.com>: > I think maybe put ; after the first command before issuing the second > command mkdir > > id=`/opt/zimbra/bin/mysql -e 'use zimbra;select id,comment from > mailbox;' | grep $username | cut -f 1` ; mkdir /tmp/$username > 2>/dev/null > > &/or, possibly you need to escape your statement > > id=`/opt/zimbra/bin/mysql -e \'use zimbra;select id,comment from > mailbox;\' | grep $username | cut -f 1` ; mkdir /tmp/$username > 2>/dev/null
thanks but on my code it is actually on a newline -- Regards, Umarzuki Mochlis http://debmal.my -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAHW9mbwzOdkhhfONhVXpTomjzbz73TkM6dOWC82zeHq=8zs...@mail.gmail.com