Re: bash quoting question

2001-10-15 Thread Oded Arbel
orance and confidence. - Original Message - From: "Oleg Goldshmidt" <[EMAIL PROTECTED]> To: "Alex Chudnovsky" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 16, 2001 2:53 AM Subject: Re: bash quoting question > Alex Chudnovsky <[EMAI

Re: bash quoting question

2001-10-15 Thread Oleg Goldshmidt
Alex Chudnovsky <[EMAIL PROTECTED]> writes: > That's exactly how KDE was formed. K = L ( Linux ) - 1. That's according to > KDE team own explanation. Actually, it was Kool Desktop Environment. The 5th anniversary of KDE brought the original Usenet posting to the world's attention: http://group

Re: bash quoting question

2001-10-13 Thread Oleg Goldshmidt
"Nadav Har'El" <[EMAIL PROTECTED]> writes: > Yeah :) I always thought the name in the book (which obviously came before > the film :) ) was chosen as a pun on IBM. It has been acknowledged by the author. > There's a similar rumor going around on why Windows NT was named "NT" - > anybody knows

Re: bash quoting question

2001-10-12 Thread Alex Chudnovsky
On Saturday 13 October 2001 00:54, Nadav Har'El wrote: > On Sat, Oct 13, 2001, Ehud Karni wrote about "Re: bash quoting question": > > echo "IBMA ?" | ( IFS="|" ; $A ) > > > > BTW. Any one knows why I choose the above example (Hint: f

Re: bash quoting question

2001-10-12 Thread Nadav Har'El
On Sat, Oct 13, 2001, Ehud Karni wrote about "Re: bash quoting question": > echo "IBMA ?" | ( IFS="|" ; $A ) > > BTW. Any one knows why I choose the above example (Hint: film) ? Yeah :) I always thought the name in the book (which obviously came befo

Re: bash quoting question

2001-10-12 Thread Ehud Karni
On Fri, 12 Oct 2001 16:47:07 +0200, Nadav Har'El <[EMAIL PROTECTED]> wrote: > > On Fri, Oct 12, 2001, Tzafrir Cohen wrote about "bash quoting question": > > It appears that the shell treats the value of DNS_RESOLVE as seperate > > words, and even bothers

Re: bash quoting question

2001-10-12 Thread Nadav Har'El
On Fri, Oct 12, 2001, Tzafrir Cohen wrote about "Re: bash quoting question": > > In Zsh, the way to do this is the following: > > A=(ls 'a b') > > echo | $A > > > Bash (bash2, actually) has arrays as well. The syntax is not as simple as &g

Re: bash quoting question

2001-10-12 Thread Tzafrir Cohen
On Fri, 12 Oct 2001, Nadav Har'El wrote: > On Fri, Oct 12, 2001, Tzafrir Cohen wrote about "bash quoting question": > > It appears that the shell treats the value of DNS_RESOLVE as seperate > > words, and even bothers quoting the "'" marks. >

Re: bash quoting question

2001-10-12 Thread Nadav Har'El
On Fri, Oct 12, 2001, Tzafrir Cohen wrote about "bash quoting question": > It appears that the shell treats the value of DNS_RESOLVE as seperate > words, and even bothers quoting the "'" marks. > > Any way around this? In bash, the only solution I can think

bash quoting question

2001-10-12 Thread Tzafrir Cohen
Hi I'm trying to write a script: ... NAME_SERVER="192.168.1.200" DNS_RESOLVE="/usr/bin/adnsresfilter --config 'nameserver ${NAME_SERVER}'" ... | ${DNS_RESOLVE} \ ... That is, the command above shsould recieve a parameter that contains a space, and thus has to be quoted. Its value needs to