Re: [SLUG] Robert Collins' Notebook

2005-05-29 Thread Robert Collins
On Fri, 2005-05-27 at 22:46 +1000, Carl Woodward wrote: Hi everyone, I know this isn't the right forum for this question but I was wondering if anyone could tell me what notebook Robert Collins is using? I saw it tonight at SLUG and can't seem to find it on the web. Its the Dell Latitude

[SLUG] several domains to one web in Apache 1.3x, single docroot ?

2005-05-29 Thread Voytek
I need to set one web space, with 4 domains pointing to same web space, as in: mysite.tld, minesite.tld, my_site.tld mine_site.tld. what's the best way to set that ? I'm thinking of duplicating virtual host stuff, just keeping DocRoot same, is that an OK way ? hmmm, that will give me multiple

Re: [SLUG] several domains to one web in Apache 1.3x, single docroot ?

2005-05-29 Thread Robert Collins
On Mon, 2005-05-30 at 08:38 +1000, Voytek wrote: I need to set one web space, with 4 domains pointing to same web space, as in: mysite.tld, minesite.tld, my_site.tld mine_site.tld. what's the best way to set that ? I'm thinking of duplicating virtual host stuff, just keeping DocRoot

Re: [SLUG] Cp -R skipping some directories

2005-05-29 Thread Peter Rundle
Simon, Is it possible to have cp skip some directories when using cp -R? Dunno, but cpio -p would be able to solve your problem. $ find . -print | cpio -pdmuv /new/directory Find simply generates a list of file names, which cpio reads on it's standard input as a list to copy. Obviously

Re: [SLUG] several domains to one web in Apache 1.3x, single docroot ?

2005-05-29 Thread Mike MacCana
Robert Collins wrote: On Mon, 2005-05-30 at 08:38 +1000, Voytek wrote: I need to set one web space, with 4 domains pointing to same web space, as in: mysite.tld, minesite.tld, my_site.tld mine_site.tld. what's the best way to set that ? I'm thinking of duplicating virtual host stuff,

[SLUG] Newlines in environment variables

2005-05-29 Thread Peter Hardy
Pretty basic shell question, but it's Monday morning and my brain hasn't warmed up yet. I have the following bit of shell script to accept messages piped from evolution filters and pop up a notice on screen: message=Message received `egrep (^From:|^Subject:)` xmessage -nearmouse

RE: [SLUG] Cp -R skipping some directories

2005-05-29 Thread Simon
Thanks all, seems like rsync is what I have been looking for. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Julio Cesar Ody Sent: Fri, 27. May 2005 2:21 PM To: [EMAIL PROTECTED]; slug Subject: Re: [SLUG] Cp -R skipping some directories Well,

Re: [SLUG] Newlines in environment variables

2005-05-29 Thread tatz
Hi, good morning!? From: Peter Hardy [EMAIL PROTECTED] Date: Mon, 30 May 2005 11:30:48 +1000 I have the following bit of shell script to accept messages piped from evolution filters and pop up a notice on screen: message=Message received `egrep (^From:|^Subject:)` xmessage

Re: [SLUG] Newlines in environment variables

2005-05-29 Thread Ian Wienand
On Mon, May 30, 2005 at 11:30:48AM +1000, Peter Hardy wrote: xmessage -nearmouse $message Now, running this script with bash compresses $message to a single line, while zsh keeps the newlines intact. So I'm wondering how to achieve the same thing with bash. Quote $message, as in $ xmessage