Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Xi Shen
yes, you are right. + curl_opts='-x '\'''\''' the "-x ''" expands to too many quotes. I tried to replace the double-quotes to single-quotes, but still not working. any idea how to fix this? On Mon, May 9, 2011 at 2:43 PM, Nils Andresen wrote: > Hi, > have you tried "/bin/bash -x your.script.s

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Kfir Lavi
On Mon, May 9, 2011 at 9:43 AM, Nils Andresen wrote: > Hi, > have you tried "/bin/bash -x your.script.sh" - see what get's expanded ? > > Nils > > > 2011/5/9 Xi Shen > >> I guess there's something wrong with the argument expansion. Just do >> not know how to fix it. Please help. >> >> You need t

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Xi Shen
yes, i use the '-x' option, and i can see the expansion now. and i found there are too many quotes. i tried curl_opts=-x "", does not work. On Mon, May 9, 2011 at 3:52 PM, Kfir Lavi wrote: > > > On Mon, May 9, 2011 at 9:43 AM, Nils Andresen wrote: >> >> Hi, >> have you tried "/bin/bash -x your

Re: [gentoo-user] Kgamma 4.6.3 fails prepare phase

2011-05-09 Thread Dale
Mick wrote: On Sunday 08 May 2011 23:24:21 Dale wrote: john wrote: Weather widgets running fine here:- Namely LCD Weather Station and Weather Station . I have only have ever run kde 4-6.2 and 4.6-3 so perhaps there is a problem upgrading from previous versions. Great widgets. Not sur

Re: [gentoo-user] scanner CanoScan LiDE210

2011-05-09 Thread Neil Bothwick
On Mon, 9 May 2011 08:41:04 +0200, pat wrote: > Nothing :-( Same output as for user: "No scanners were identified. If > you were expecting something different, check that the scanner is > plugged in, turned on and detected by the sane-find-scanner tool (if > appropriate). Please read the documenta

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Xi Shen
if i use -x '', or -x "", it expands to -x. the quotes are removed as they are empty. if i use -x \'\', the expanded quotes are quoted again...resulting too many quotes it is driving me crazy o_O! please help. On Mon, May 9, 2011 at 4:14 PM, Xi Shen wrote: > yes, i use the '-x' option, and i c

Re: [gentoo-user] scanner CanoScan LiDE210

2011-05-09 Thread Joost Roeleveld
On Monday 09 May 2011 08:41:04 pat wrote: > On Sun, 8 May 2011 23:28:39 +0100, Neil Bothwick wrote > > > On Mon, 9 May 2011 00:17:42 +0200, pat wrote: > > > I've bought USB scanner CanoScan LiDE210 which is listed with status > > > "complete" on sane-project. The driver backend name is "genesys".

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Pandu Poluan
(Forgive my top-posting) try: curl_opts="-x \'\'" Rgds, On 2011-05-09, Xi Shen wrote: > yes, i use the '-x' option, and i can see the expansion now. and i > found there are too many quotes. > > i tried curl_opts=-x "", does not work. > > > On Mon, May 9, 2011 at 3:52 PM, Kfir Lavi wrote: >>

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Pandu Poluan
(Again, sorry for top-posting) BTW, there are lots of bash gurus in stackovervlow.com. My handle there is 'pepoluan'. Rgds, On 2011-05-09, Xi Shen wrote: > It is not specific to Gentoo. But do not know where to search or post it :) > > My script looks like: > > url="http://mypage"; > curl_opts

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Xi Shen
i tried that already. not working. i will try the stackoverflow.com. thanks On Mon, May 9, 2011 at 4:31 PM, Pandu Poluan wrote: > (Again, sorry for top-posting) > > BTW, there are lots of bash gurus in stackovervlow.com. My handle > there is 'pepoluan'. > > Rgds, > > > On 2011-05-09, Xi Shen wr

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Kfir Lavi
On Mon, May 9, 2011 at 12:00 PM, Xi Shen wrote: > i tried that already. not working. i will try the stackoverflow.com. > thanks > > > On Mon, May 9, 2011 at 4:31 PM, Pandu Poluan wrote: > > (Again, sorry for top-posting) > > > > BTW, there are lots of bash gurus in stackovervlow.com. My handle >

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Alex Schuster
Kfir Lavi writes: > On Mon, May 9, 2011 at 12:00 PM, Xi Shen > wrote: > > On Mon, May 9, 2011 at 4:31 PM, Pandu Poluan wrote: > > > On 2011-05-09, Xi Shen wrote: > > >> My script looks like: > > >> > > >> url="http://mypage"; > > >> curl_opts="-x ''" > > >> curl $url -d \"mydata\" $curl_opt

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread JDM
He --Original Message-- From: Alex Schuster To: gentoo-user@lists.gentoo.org ReplyTo: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [OT] bash script error Sent: 9 May 2011 11:36 Kfir Lavi writes: > On Mon, May 9, 2011 at 12:00 PM, Xi Shen > wrote: > > On Mon, May 9, 2011 at 4

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Kfir Lavi
On Mon, May 9, 2011 at 1:36 PM, Alex Schuster wrote: > Kfir Lavi writes: > > > On Mon, May 9, 2011 at 12:00 PM, Xi Shen > > wrote: > > > > On Mon, May 9, 2011 at 4:31 PM, Pandu Poluan > wrote: > > > > > On 2011-05-09, Xi Shen wrote: > > > > >> My script looks like: > > > >> > > > >> url="http:

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread BRM
Well, I saw a lot of advice on this but no real solution - just some debugging help. At least from my own experience with Bash Scripting, I find that you can never use enough braces when referencing variables. So, the script should read: url="http://mypage"; curl_opts="-x" curl ${url} -d \"myd

Re: [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths

2011-05-09 Thread Rafael Barrera Oro
I can't believe it!!! Since the purpose of the whole installation was to start using a machine that has been abandoned for some time i paid no attention to a CMOS alert that came up on the screen the first time i turned it on, shrugging it off as one more error message of a machine aproaching the

Re: [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths

2011-05-09 Thread Kevin McCarthy
On Mon, May 09, 2011 at 10:44:10AM -0300, Rafael Barrera Oro wrote: > > Considering the confusing nature of the error and the easyness which it is > fixed with, should'n it be in a faq or something? > Well, I suppose the handbook could be changed to explain that no only do you have to set the ti

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Kevin McCarthy
On Mon, May 09, 2011 at 01:44:58PM +0800, Xi Shen wrote: > It is not specific to Gentoo. But do not know where to search or post it :) > > My script looks like: > > url="http://mypage"; > curl_opts="-x ''" > curl $url -d \"mydata\" $curl_opts > > If I execute it, I got an error from curl, saying

Re: [gentoo-user] Cmdline image resizer understanding gamma ?

2011-05-09 Thread Sebastian Pipping
On 05/06/2011 05:06 AM, Kfir Lavi wrote: > What about using gimp in scripting mode? I've been working on a pygimp-based plugin for the GIMP yesterday. It's a bit slow but it does the job, and comes with a simple GUI [1]. After running # sudo layman -a betagarden # sudo emerge -av media-plugi

Re: [gentoo-user] Unable to set wireless regulatory domain

2011-05-09 Thread John Nielsen
On May 6, 2011, at 4:14 PM, Mick wrote: > On Friday 06 May 2011 18:04:31 John Nielsen wrote: >> Doesn't look like this went through the first time; re-sending without >> attachment. >> >> On May 5, 2011, at 6:52 PM, Paul Hartman wrote: >>> On Thu, May 5, 2011 at 12:40 PM, John Nielsen wrote: >>>

Re: [gentoo-user] Unable to set wireless regulatory domain

2011-05-09 Thread Mick
On Monday 09 May 2011 17:20:49 John Nielsen wrote: > On May 6, 2011, at 4:14 PM, Mick wrote: > > On Friday 06 May 2011 18:04:31 John Nielsen wrote: > >> Doesn't look like this went through the first time; re-sending without > >> attachment. > >> > >> On May 5, 2011, at 6:52 PM, Paul Hartman wrote:

Re: [gentoo-user] Tool to check PDF against PDF/X-3 ?

2011-05-09 Thread Sebastian Pipping
On 05/05/2011 11:01 PM, Florian Philipp wrote: > I'm not aware of any real verification tool. I guess you could easily > build one using one of the free pdf libraries for introspecting the file > and matching all requirements. If you ever find yourself making such a tool please make it free softwa

[gentoo-user] Need Preferred Applications help

2011-05-09 Thread Michael Sullivan
A couple of weeks ago I switched my gcc profile over and rebuilt everything with emerge -e system and emerge -e world. Now, when I click on a link in Evolution, seamonkey opens to a blank page instead of to the link that I clicked on. I'm using gnome-base/gnome-2.32.1. Seamonkey is my preferred w

[gentoo-user] Re: Unable to set wireless regulatory domain

2011-05-09 Thread walt
On 05/09/2011 09:20 AM, John Nielsen wrote: > I got it working like I want by: > > 1) Including RFKILL in my kernel config and 2) Building cfg80211, > mac80211, rfkill, and all parts of the ath9k driver as modules > > Just adding RFKILL to a static (module-less) kernel didn't fix it, > and just

[SOLVED] Re: [gentoo-user] scanner CanoScan LiDE210

2011-05-09 Thread pat
On Mon, 9 May 2011 09:15:33 +0100, Neil Bothwick wrote > On Mon, 9 May 2011 08:41:04 +0200, pat wrote: > > > Nothing :-( Same output as for user: "No scanners were identified. If > > you were expecting something different, check that the scanner is > > plugged in, turned on and detected by the san

Re: [gentoo-user] Re: Unable to set wireless regulatory domain

2011-05-09 Thread Mick
On Monday 09 May 2011 23:46:06 walt wrote: > On 05/09/2011 09:20 AM, John Nielsen wrote: > > I got it working like I want by: > > 1) Including RFKILL in my kernel config and 2) Building cfg80211, > > mac80211, rfkill, and all parts of the ath9k driver as modules > > > > Just adding RFKILL to a st

Re: [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths

2011-05-09 Thread Indi
On Sat, May 07, 2011 at 11:20:02AM +0200, Mick wrote: > On Saturday 07 May 2011 01:40:54 Indi wrote: > > On Sat, May 07, 2011 at 02:10:01AM +0200, Indi wrote: > > > Speaking of that, I always get that notice "the PGP signature could > > > not be verified" on your mails, Neil. > > > > Never mind, s

Re: [gentoo-user] Check CPU for throttling

2011-05-09 Thread Volker Armin Hemmann
On Sunday 08 May 2011 12:59:57 Helmut Jarausch wrote: > On 05/08/2011 11:21:06 AM, Florian Philipp wrote: > > sys-process/atop shows current CPU freqency > I use it to check the effect of sys-power/powernowd why are you using powernowd?

Re: [gentoo-user] Check CPU for throttling

2011-05-09 Thread Helmut Jarausch
On 05/10/2011 02:36:33 AM, Volker Armin Hemmann wrote: > On Sunday 08 May 2011 12:59:57 Helmut Jarausch wrote: > > On 05/08/2011 11:21:06 AM, Florian Philipp wrote: > > > > sys-process/atop shows current CPU freqency > > I use it to check the effect of sys-power/powernowd > > why are you using po