Re: split(): syntax error near unexpected token `(' ... [OT]

2013-11-28 Thread Jonathan Dowland
On Fri, Nov 29, 2013 at 03:13:49PM +1100, Scott Ferguson wrote: > Is the point to this a troll. Are you trolling? Because $IFS hasn't been > initialised Please try to be more civilised. If you aren't positively interested in this thread, move on to another. -- To UNSUBSCRIBE, email to debia

Re: split(): syntax error near unexpected token `(' ... [OT]

2013-11-28 Thread Scott Ferguson
On 29/11/13 15:13, Scott Ferguson wrote: > Off-off topic for Debian User lists. > > On 29/11/13 14:42, Albretch Mueller wrote: > >> SavedIFS="$IFS" > > Hu-uh? [slaps head] My bad. You're storing the value of built-in variable, not as I foolishly 'thought', a custom variable. > >> IFS=":"

Re: split(): syntax error near unexpected token `(' ... [OT]

2013-11-28 Thread Neal Murphy
Bash does not have a split function. To split in bash, one has to do it the old-fashioned way: declare -i i declare -a myArray OIFS=$IFS IFS=":" set `egrep root /etc/passwd` IFS=$OIFS # Store the new positional parameters in indexed array myArray. i=0 while [ ! -z $1 ]; do myArray[$i]=$1 sh

Re: split(): syntax error near unexpected token `(' ... [OT]

2013-11-28 Thread Scott Ferguson
On 29/11/13 14:51, Scott Ferguson wrote: > Please note - this has *nothing* to do with Debian, I've marked it OT > accordingly. > > Unless you are asking about Debian peculiarities or whether to raise bug > report please consider posting these sorts of queries to somewhere > appropriate like stack

Re: split(): syntax error near unexpected token `(' ... [OT]

2013-11-28 Thread Scott Ferguson
Off-off topic for Debian User lists. On 29/11/13 14:42, Albretch Mueller wrote: > #!/bin/bash > > _DT=$(date +%Y:%m:%d:%H:%M:%S) OK... > echo "// __ \$_DT: $_DT" Huh? Is there a point to that exercise (print gibberish to screen)? $_DT remains $(date +%Y:%m:%d:%H:%M:%S) [wave of diziness] >

Re: split(): syntax error near unexpected token `(' ... [OT]

2013-11-28 Thread Scott Ferguson
Please note - this has *nothing* to do with Debian, I've marked it OT accordingly. Unless you are asking about Debian peculiarities or whether to raise bug report please consider posting these sorts of queries to somewhere appropriate like stackoverflow, gawk lists or such like. Thanks. On 29/11

Re: split(): syntax error near unexpected token `(' ...

2013-11-28 Thread Albretch Mueller
#!/bin/bash _DT=$(date +%Y:%m:%d:%H:%M:%S) echo "// __ \$_DT: $_DT" SavedIFS="$IFS" IFS=":" _dpvals_arr=( $_DT ) # date place values echo "// __ total numbers: ${#_dpvals_arr[@]}" for _dp in "${_dpvals_arr[@]}" do echo "$_dp" done IFS="$SavedIFS" ~ lbrtchx -- To UNSUBSCRIBE, email to debia

Re: split(): syntax error near unexpected token `(' ...

2013-11-28 Thread Albretch Mueller
> What is "array" supposed to do? [??] > What did you want the script to do? ~ chemie.fu-berlin.de/chemnet/use/info/gawk/gawk_13.html#SEC126 ~ split(string, array [, fieldsep]) This divides string into pieces separated by fieldsep, and stores the pieces in array. The first piece is stored in

Re: split(): syntax error near unexpected token `(' ...

2013-11-28 Thread Scott Ferguson
On 29/11/13 12:38, Albretch Mueller wrote: > n = split($_az,array," ") What is "array" supposed to do? [??] What did you want the script to do? Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lis

split(): syntax error near unexpected token `(' ...

2013-11-28 Thread Albretch Mueller
Why wouldn't bash's split() work in such an easy case? ~ lbrtchx ~ #!/bin/bash _az="a b c a 2 3" echo "// __ \$_az: \"$_az\"" n = split($_az,array," ") echo "// __ \$_n: |$_n|" ~ ~ ~ ~ error message ~ ~ ~ ~ $ which awk /usr/bin/awk $ awk --version GNU Awk 3.1.7 Copyright (C) 1989, 1991-2009

Re: Linux time not redirecting output to log file ...

2013-11-28 Thread Scott Ferguson
On 29/11/13 02:48, Albretch Mueller wrote: > (time rsync --archive --verbose $_SRC $_DEST 2>&1 >&3 | tee $_ERR >&3) >>> in this case however I can't get (Linux) time to log into the >>> output+errors log file. It just spits its output on standard err (not >>> the err + out I am trying to redi

Re: Postfix randomizing outgoing IP using

2013-11-28 Thread Gregory Nowak
On Thu, Nov 28, 2013 at 10:56:47AM +0200, "M.Atıf CEYLAN" wrote: > Everything is great but when I want to sending an email to a local > domain, smtp server looks at the mx record of the domain. Can I use > local transport and transport_maps together? Or is there a way to > sending to local domains?

Hair Replacement - 27 Cases - Real Stories, Real Drama

2013-11-28 Thread HairSite News
REAL PEOPLE, REAL CASES, REAL DRAMA 27 MEN & WOMEN - 1 THING COMMON HAIR LOSS!! brought to you by HairDirect   27 real life stories, 27 real life struggles, all because of one thing: HAIR LOSS! Find out what these men and women have to do to overcome their hair loss problem. See if you c

Re: Can't install any packages, "APT_HOOK_INFO_FD is not correctly defined"

2013-11-28 Thread John Magolske
* Dom [131127 16:53]: > On 27/11/13 08:29, Scott Ferguson wrote: > >On 27/11/13 19:14, John Magolske wrote: > >>* Scott Ferguson [131126 23:43]: > >>>On 27/11/13 17:46, John Magolske wrote: > I'm finding I can't install any packages with `aptitude dist-upgrade` > `aptitude install ...` et

Re: Read clipboard?

2013-11-28 Thread Antispammbox-debian
Ok, many thanks at all! Regards -- 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/EA97159419AD4775A0C53A57B81626DA@CentrinoDuo

Re: Terminal with support for Indic characters

2013-11-28 Thread അഖിൽ കൃഷ്ണൻ എസ് .
https://bugzilla.gnome.org/show_bug.cgi?id=584160 The bug is still there even after 4 years and affects almost entire (25+) Indic Languges worsely. Gnome users have to depend on KDE for a smooth emulator. On 28 Nov 2013 17:34, "Sridhar M. A." wrote: > On Thu, November 28, 2013 6:33 am, Sridhar M

Re: MIT discovered issue with gcc

2013-11-28 Thread Octavio Alvarez
On 11/28/2013 03:28 AM, Joel Rees wrote: > And, according to the article that started this thread, isn't going to > do the job, either, since many of our primary compilers now optimize > more than they are able to warn about even at the lowest level of > optimization. This should be enough to thro

Re: wordpress, again

2013-11-28 Thread Chris Davies
Chris Davies writes: > Last time I looked, the wordpress package was a point or two behind > the current version. Many of these point releases seem to be to fix > security issues, so I have to question the wisdom of using an "older" > version for a potentially Internet-facing server. John Hasler

Re: A rookie's query: Want to about Debian and the related

2013-11-28 Thread AP
On Thu, Nov 28, 2013 at 9:35 PM, Lisi Reisz wrote: > I use POP3. The emails download just as they would from any > mailserver. I then read, reply, edit etc. my emails off-line. With > the difference that Gmail archives my emails as soon as I have > downloaded them, instead of deleting them. >

Re: A rookie's query: Want to about Debian and the related

2013-11-28 Thread Lisi Reisz
On Thursday 28 November 2013 15:43:55 AP wrote: > On Thu, Nov 28, 2013 at 4:21 AM, Lisi Reisz wrote: > > The easiest, though not the only, solution is to use Gmail with > > an email client via IMAP or POP3. I use KMail. I have clients > > using Icedove (Thunderbird). > > So with KMail can we re

Re: debian xfce network tethering an SGS2 [long, with syslog extract]

2013-11-28 Thread Ron Leach
On 27/11/2013 10:58, Roland Mueller wrote: for tethering you shouln't need a package at all: on phone side you should be able setup USB debugging mode (permanently) and enable tethering after the phone has been connected to the Linux machine. Having D7/XFCE and a Samsung Galaxy S2 (SGS2) I tho

Re: Linux time not redirecting output to log file ...

2013-11-28 Thread Albretch Mueller
> And what is with all of the leading underscores and curly brackets? :-) ~ Sorry, but I once run into a messy issue while trying to use a shell command that made me adopt that practice ~ > Please say in words what you are trying to do with stdout and stderr. > What did you the the above line wou

Re: A rookie's query: Want to about Debian and the related

2013-11-28 Thread AP
On Thu, Nov 28, 2013 at 4:21 AM, Lisi Reisz wrote: > The easiest, though not the only, solution is to use Gmail with an > email client via IMAP or POP3. I use KMail. I have clients using > Icedove (Thunderbird). So with KMail can we read the mails offline too? (Only the mails which have been r

Re: A rookie's query: Want to about Debian and the related

2013-11-28 Thread AP
On Thu, Nov 28, 2013 at 5:11 PM, Eduardo M KALINOWSKI wrote: > But since the OP isn't changing the subject line (at least not in a visible > way), I wonder what else he's doing wrong. Not changing even in invisible way! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a

Re: Totem in stable cannot play any type of video, need your help.

2013-11-28 Thread Jay DeKing
On 11/25/2013 09:45 AM, Bo Lan wrote: > On Mon, 2013-11-25 at 00:10 -0700, Bob Proulx wrote: >> Bo Lan wrote: >>> This is my first mail here. >> >> Welcome! >> >>> I am debian stable user. My Totem cannot play any type of video, >>> included free format such as webm, ogg, and mkv. When I open any

Re: wordpress, again

2013-11-28 Thread Tom H
On Thu, Nov 28, 2013 at 11:08 AM, Jerry Stuckle wrote: > > I'm just the opposite. I need stable servers, which is why I use Debian. > If I wanted the "latest and greatest", I would go to Ubuntu or some other > distro. RHEL and its clones, SUSE, and Ubuntu LTS are just as stable as Debian so you m

Re: Problems with Debian Testing

2013-11-28 Thread Darac Marjal
On Tue, Nov 26, 2013 at 07:59:48AM -0500, Rob Owens wrote: > On Tue, Nov 26, 2013 at 06:04:37PM +0600, Muntasim-Ul-Haque wrote: > > Hi, > > I just upgraded Debian Wheezy to Testing/Jessey. The up-gradation > > process is done and now my Debian Testing is acting weird. > > Softwares/apps look like I

Re: Terminal with support for Indic characters

2013-11-28 Thread Sridhar M. A.
On Thu, November 28, 2013 6:33 am, Sridhar M. A. wrote: > On Thu, November 28, 2013 1:56 am, അഖിൽ കൃഷ്ണൻ > എസ്. wrote: >> Konsole of KDE & its frameworks like yakuake works well on Indic >> Languages. >> Me using it for Malayalam -ml_IN which is a complex indic script. > >

Re: A rookie's query: Want to about Debian and the related

2013-11-28 Thread Eduardo M KALINOWSKI
On Qui, 28 Nov 2013, Tom H wrote: Since gmail threads messages by subject, if you reply to message and change its subject (with the new interface, I don't think this used to happen previously), the headers are reset. But since the OP isn't changing the subject line (at least not in a visible

Re: MIT discovered issue with gcc [OT]

2013-11-28 Thread Scott Ferguson
On 28/11/13 22:33, Joel Rees wrote: >> [...] > > Uninitialized pointers in my thought processes. > Made perfect sense to me. I use ld.so.preload for everything. It's great. Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trou

Re: A rookie's query: Want to about Debian and the related

2013-11-28 Thread Tom H
On Wed, Nov 27, 2013 at 10:51 PM, Lisi Reisz wrote: > On Wednesday 27 November 2013 18:52:43 AP wrote: >> On Wed, Nov 27, 2013 at 11:06 PM, Lisi Reisz > wrote: >>> >>> Quite. >> >> I also really don't know about why this is happening. A mozilla >> firfox is doing all that...without any reason..!

Re: MIT discovered issue with gcc

2013-11-28 Thread Joel Rees
Ick. On Thu, Nov 28, 2013 at 8:28 PM, Joel Rees wrote: > On Thu, Nov 28, 2013 at 6:10 AM, Wade Richards wrote: >> [...] > I'm taking a course in embedded programming at the local employment > training center to "brush up" on skills I never lost, for reasons that > I won't bother to explain. The

Re: MIT discovered issue with gcc

2013-11-28 Thread Joel Rees
On Thu, Nov 28, 2013 at 6:10 AM, Wade Richards wrote: > One of the links Mark posted earlier addresses the "The compiler should > issue warnings" issue. The short answer is because of macro expansion and > other code-rearranging optimizations (inlining functions, loop unrolling, > pulling express

Re: wordpress, again

2013-11-28 Thread Jerry Stuckle
On 11/28/2013 2:31 AM, Rick Thomas wrote: And, for what it's worth, when it comes to all but the most core servers (say mysql, apache, postfix), I've found that it always pays to build servers from upstream source (particularly mail related stuff - getting antispam, antivirus, SMTP, IMAP, an

Re: Terminal with support for Indic characters

2013-11-28 Thread ken
Wikipedia has quite a bit of information about installing and using Indic fonts on various OSs: . On 11/28/2013 03:30 AM Gian Uberto Lauri wrote: I hope that this utf-8 message will give no trouble to anyone. അഖിൽ കൃഷ്ണൻ എസ്.

Re: A rookie's query: Want to about Debian and the related

2013-11-28 Thread Ralf Mardorf
On Thu, 2013-11-28 at 12:22 +0200, Andrei POPESCU wrote: > On Mi, 27 nov 13, 22:32:14, AP wrote: > > > > But CLI learning needs much time. > > And learning a GUI doesn't? > > I remember reading about a study which claimed about half of all people > first confronted with a computer found the CLI

Debian on Macbook Air 2013

2013-11-28 Thread Helmut Wollmersdorfer
Hi, are there some new HOWTOs about installing Debian on Macbook Air (Mid 2013)? Via Google I found a lot of traffic concerning Ubuntu & al., but now it is quiet. Problems (suspend) solved or still open? TIA Helmut Wollmersdorfer -- To UNSUBSCRIBE, email to debian-user-requ...@lists.de

Re: Squeeze - recovering from power outage

2013-11-28 Thread Andrei POPESCU
On Mi, 27 nov 13, 13:22:11, Kailash wrote: > > Unrelated to power outages, one thing to check would be to look at the > root directory. If you're low on diskspace that can often cause slow-downs. Could you please elaborate on this? Thanks, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Off

Re: A rookie's query: Want to about Debian and the related

2013-11-28 Thread Andrei POPESCU
On Mi, 27 nov 13, 22:32:14, AP wrote: > > But CLI learning needs much time. And learning a GUI doesn't? I remember reading about a study which claimed about half of all people first confronted with a computer found the CLI easier to learn than GUIs. In my very humble opinion the biggest hurdl

Re: Fallback icons in thunar

2013-11-28 Thread Scott Ferguson
On 28/11/13 19:26, Ralf Mardorf wrote: > On Thu, 2013-11-28 at 19:01 +1100, Scott Ferguson wrote: >> On 28/11/13 18:40, Ralf Mardorf wrote: >>> On Thu, 2013-11-28 at 14:03 +0700, Diep Pham Van wrote: The problem is, I really like the novula icon set. Maybe there is a way to make those ico

Postfix randomizing outgoing IP using

2013-11-28 Thread M.Atıf CEYLAN
Hi, I found the URL http://www.kutukupret.com/2010/12/06/postfix-randomizing-outgoing-ip-using-tcp_table-and-perl/ about multiple outgoing IP using. I use postfix with dovecot LDA. My postfix main.cf conf. ... transport_maps = tcp:[127.0.0.1]:2527 127.0.0.1:2527_time

Re: wordpress, again

2013-11-28 Thread Rick Thomas
On Nov 27, 2013, at 11:52 PM, Scott Ferguson wrote: > On 28/11/13 18:31, Rick Thomas wrote: >> >> On Nov 27, 2013, at 8:12 PM, Miles Fidelman >> wrote: >> >>> Scott Ferguson wrote: The OP (in this thread) is asking about the Debian WordPress package. It installs WordPress, WordPres

Re: Terminal with support for Indic characters

2013-11-28 Thread Gian Uberto Lauri
I hope that this utf-8 message will give no trouble to anyone. അഖിൽ കൃഷ്ണൻ എസ്. writes: > Since gnome-terminal & its emulators like guake uses vtk which do not > provide complex utf-8 rendering, Indic Language support is poor in them. Poor indeed, but not non-existent. I do not dare posting an

Re: Fallback icons in thunar

2013-11-28 Thread Ralf Mardorf
On Thu, 2013-11-28 at 19:01 +1100, Scott Ferguson wrote: > On 28/11/13 18:40, Ralf Mardorf wrote: > > On Thu, 2013-11-28 at 14:03 +0700, Diep Pham Van wrote: > >> The problem is, I really like the novula icon set. Maybe there is a way > >> to make those icons look like other icons? > > > > You see

Re: Fallback icons in thunar

2013-11-28 Thread Scott Ferguson
On 28/11/13 18:40, Ralf Mardorf wrote: > On Thu, 2013-11-28 at 14:03 +0700, Diep Pham Van wrote: >> The problem is, I really like the novula icon set. Maybe there is a way >> to make those icons look like other icons? > > You seemingly don't like the icon _s e t_! > > Replace the "Fallback icons"