ubuntu script failure

Edward avanti edward.avanti at gmail.com
Mon Jan 2 09:23:07 UTC 2012


On Mon, Jan 2, 2012 at 7:18 PM, Edward avanti <edward.avanti at gmail.com>wrote:

>
>
> On Mon, Jan 2, 2012 at 12:44 AM, Nils Kassube <kassube at gmx.net> wrote:
>
>> Edward avanti wrote:
>> > Halo,
>> > Does anyone else find if they call the multi option from ubuntu sh
>> > script it fails?
>> >
>> > For instance
>> >
>> > mkdir -p
>> > /var/log/system_archives/{acpid,auth,btmp,daemon,dpkg,kernel,messages
>> > ,pm,ppp,scrollkeeper,wpa,wtmp}/$YEAR upon checking this made a
>> > directory called
>> > /var/log/system_archives//{acpid,auth,btmp,daemon,dpkg,kernel,message
>> > s,pm,ppp,scrollkeeper,wpa,wtmp}/2012
>> >
>> > if I run this from my shell manually, it works
>> >
>> > this same script I use on all my servers, centos, gentoo, slackware,
>> > on those it works as intended,. but on ubuntu  it goes stupid not
>> > honouring the {}
>>
>> Probably you start your script with "#!/bin/sh" which is a link to dash
>> in Ubuntu and to bash on other systems. As dash doesn't know your wanted
>> feature, you should start your script with "#!/bin/bash" instead.
>>
>>
>>
Christ all fucking mighty!
why cant these dickhead tossers leave things alone, they have to be fucking
usellessly different
...
Thanks for the info
had enough of the fuckbuntu quirks, they are worse than microsoft, this and
the other screwups these lamers have done is enough, opensuse is going on
that boxen shortly




> Nils
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120102/89b873e6/attachment.html>


More information about the ubuntu-users mailing list