Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-14 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Mardorf wrote: > Gustin Johnson wrote: >>> Btw. I'm invented by Mathias and Rui to join the Qtractor dev list. Why >>> does he speak for Rui? >>> >>> >> Again, I am not on that list, I have no idea what is going on over there. >> > > *lol

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-14 Thread Ralf Mardorf
Gustin Johnson wrote: >> Btw. I'm invented by Mathias and Rui to join the Qtractor dev list. Why >> does he speak for Rui? >> >> > Again, I am not on that list, I have no idea what is going on over there. > *lol* I was invited :D (not invented) by Rui to subscribe there, instead of leavin

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-14 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Mardorf wrote: >> >> >>> and was writing about another list were a woman was banned. He wrote >>> about making research, he knows that I e.g. use Qtractor and he >>> >> >> I am not on that list so I have no idea what the context is. I am

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-14 Thread Ralf Mardorf
> the BASH FAQ. Important POSIX e.g. for "" for e.g. //hostname/path could be an disadvantage. I didn't read all FAQs, but they seem to be very important, resp. "Bourne-Again Shell" might be the right choice. POSIX standard seems to be less important for users, http://www.unix.org/ve

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-14 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Mardorf wrote: > Gustin Johnson wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Ralf Mardorf wrote: >> http://www.google.ca/search?q=posix%20arrays >>> http://unix.derkeiler.com/Newsgroups/comp.unix.shell/2007

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-14 Thread Ralf Mardorf
Has anybody noticed an unwanted spell auto-correction function for Thunderbird? > I'll unsubsribe too. Hm ... sometimes I guess Thunderbird has some hidden auto-spellchecking. I "think I'm sure" ;) I wrote "I'll unsubscribe soon", perhaps with a typo, maybe "I'll unsibscribe sonm" or what ever

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-14 Thread Ralf Mardorf
Gustin Johnson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ralf Mardorf wrote: > >> Gustin Johnson wrote: >> >>> Seriously? I have no idea what you use or don't use. He made a >>> suggestion and you chastised him. I guess we should all keep our mouths >>> shut. We do not

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-14 Thread Ralf Mardorf
Gustin Johnson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ralf Mardorf wrote: > >>> http://www.google.ca/search?q=posix%20arrays >>> >>> >> http://unix.derkeiler.com/Newsgroups/comp.unix.shell/2007-09/msg00320.html >> >> :) >> > Did you read the reply? > http://u

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-14 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Mardorf wrote: > Gustin Johnson wrote: >> Seriously? I have no idea what you use or don't use. He made a >> suggestion and you chastised him. I guess we should all keep our mouths >> shut. We do not work for you, take some responsibility for yo

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-14 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Mardorf wrote: > >> http://www.google.ca/search?q=posix%20arrays >> > > http://unix.derkeiler.com/Newsgroups/comp.unix.shell/2007-09/msg00320.html > > :) Did you read the reply? http://unix.derkeiler.com/Newsgroups/comp.unix.shell/2007-09/ms

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-13 Thread Ralf Mardorf
Gustin Johnson wrote: > Seriously? I have no idea what you use or don't use. He made a > suggestion and you chastised him. I guess we should all keep our mouths > shut. We do not work for you, take some responsibility for your own > experience. This is what I dislike most about FLOSS, all of th

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-13 Thread Ralf Mardorf
> http://www.google.ca/search?q=posix%20arrays > http://unix.derkeiler.com/Newsgroups/comp.unix.shell/2007-09/msg00320.html :) ___ 64studio-users mailing list 64studio-users@lists.64studio.com http://lists.64studio.com/mailman/listinfo/64studio-user

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-13 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Mardorf wrote: > Kevin Donnelly wrote: >> On Monday 12 October 2009 19:51, Ralf Mardorf wrote: >> >>> Today "Obsession - Open Busy Session Handler version 0.5" come into >>> being, it's my second shell script :). >>> >> If you main aim is

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-13 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Mardorf wrote: > Hi Gustin :) > >>> test.bin\bash: 2: Syntax error: "(" unexpected >> >> That is the error you get when using /bin/sh (aka /bin/dash due to the >> symlink). >> > > /bin/sh is linked with dash and /bin/bash isn't a link, i

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-13 Thread Ralf Mardorf
Hi Gustin :) >> test.bin\bash: 2: Syntax error: "(" unexpected >> > > That is the error you get when using /bin/sh (aka /bin/dash due to the > symlink). > /bin/sh is linked with dash and /bin/bash isn't a link, it's bash, both by default for 64 Studio 3.0-beta3 amd64, I didn't changed t

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-13 Thread Ralf Mardorf
Kevin Donnelly wrote: > On Monday 12 October 2009 19:51, Ralf Mardorf wrote: > >> Today "Obsession - Open Busy Session Handler version 0.5" come into >> being, it's my second shell script :). >> > > If you main aim is restoring sessions, I came across this last week: > http://ladish.org/ >

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-13 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Mardorf wrote: > Gustin Johnson wrote: >> Try the following one line at a time from a shell, it should not >> matter if you are root: >> >> declare -a sourcedir=( "/etc" "/usr/local" "/var/log" ) >> >> elements="${#sourcedir[*]}" >> >> for ((

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-13 Thread Ralf Mardorf
Gustin Johnson wrote: >> I tried #!/bin/sh and #!/bin/bash with 64 Studio 3.0-beta3 and both were >> not fine with arrays. [snip] >> > > /bin/sh is a sym link to dash, which is not as feature rich as Bash. > Until your question I had forgotten that Ubuntu had made it the /bin/sh > replacement

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-13 Thread Kevin Donnelly
On Monday 12 October 2009 19:51, Ralf Mardorf wrote: > Today "Obsession - Open Busy Session Handler version 0.5" come into > being, it's my second shell script :). If you main aim is restoring sessions, I came across this last week: http://ladish.org/ "LADI Session Handler or simply ladish is a se

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-13 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Mardorf wrote: >>> >>> Array variables are fine for e.g. c like shells and even for pseudo >>> Bourne shells, e.g. on Suse or Debian, but not for real POSIX, e.g. >>> /bin/sh on Ubuntu, anyway I'll take a look at those guides too. >>> >> >>

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-13 Thread Ralf Mardorf
Gustin Johnson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ralf Mardorf wrote: > >> Hi Gustin :) >> >> thank you too. >> >> Gustin Johnson wrote: >> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> Ralf Mardorf wrote: >>> >>> Hi :) some

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-13 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Mardorf wrote: > Hi Gustin :) > > thank you too. > > Gustin Johnson wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Ralf Mardorf wrote: >> >>> Hi :) >>> >>> some users on that list seems to be fine with writing shell scripts.

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-12 Thread Ralf Mardorf
Hi Gustin :) thank you too. Gustin Johnson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ralf Mardorf wrote: > >> Hi :) >> >> some users on that list seems to be fine with writing shell scripts. I'm >> still not fine with it and endeavour to avoid non-POSIX style while >> learni

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-12 Thread Ralf Mardorf
David Adler wrote: > [snip] > It would be better to just list jack_snapshot > as a dependency, requiring users to install it > separately before using the script. > > Reasons: > > Most users won't want - or do not have the > permissions - to run a script as a root. > > Since Installation of depende

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-12 Thread Gustin Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Mardorf wrote: > Hi :) > > some users on that list seems to be fine with writing shell scripts. I'm > still not fine with it and endeavour to avoid non-POSIX style while > learning how to write those scripts. > You may wish to have a look at the

Re: [64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-12 Thread David Adler
On Mon, Oct 12, 2009 at 8:51 PM, Ralf Mardorf wrote: > Hi :) > > I'm a little bit confused about the separation between user and root on the > Ubuntu based 64 Studio. Does anybody know how I can launch an application as > user by my shell script, even if the script was started as root? > This is

[64studio-users] Obsession Session Handler - Hints how to write shell scripts on POSIX standard are welcome

2009-10-12 Thread Ralf Mardorf
Hi :) some users on that list seems to be fine with writing shell scripts. I'm still not fine with it and endeavour to avoid non-POSIX style while learning how to write those scripts. Today "Obsession - Open Busy Session Handler version 0.5" come into being, it's my second shell script :).