From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55853 Path: main.gmane.org!not-for-mail From: "Steven E. Harris" Newsgroups: gmane.emacs.gnus.general Subject: Re: No Gnus feature request: simpler file structure for synching Date: Thu, 08 Jan 2004 14:51:56 -0800 Organization: SEH Labs Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1073602338 18944 80.91.224.253 (8 Jan 2004 22:52:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Jan 2004 22:52:18 +0000 (UTC) Original-X-From: ding-owner+M4393@lists.math.uh.edu Thu Jan 08 23:52:13 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aej0e-0006xc-00 for ; Thu, 08 Jan 2004 23:52:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Aej0M-000818-00; Thu, 08 Jan 2004 16:51:54 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Aej0E-000812-00 for ding@lists.math.uh.edu; Thu, 08 Jan 2004 16:51:46 -0600 Original-Received: from lax-gate3.raytheon.com (lax-gate3.raytheon.com [199.46.200.232]) by justine.libertine.org (Postfix) with ESMTP id D690D3A0034 for ; Thu, 8 Jan 2004 16:51:45 -0600 (CST) Original-Received: from ds02t00.directory.ray.com (ds02t00.directory.ray.com [147.25.154.117]) by lax-gate3.raytheon.com (8.12.10/8.12.10) with ESMTP id i08Mpiow010941 for ; Thu, 8 Jan 2004 14:51:44 -0800 (PST) Original-Received: from ds02t00.directory.ray.com (localhost [127.0.0.1]) by ds02t00.directory.ray.com (8.12.10/8.12.1) with ESMTP id i08MpgY2005136 for ; Thu, 8 Jan 2004 22:51:43 GMT Original-Received: Received: from L75001820.sdo.us.ray.com ([192.27.58.82]) by ds02t00.directory.ray.com (8.12.10/8.12.9) with ESMTP id i08MpdwT005101 sender seharris@raytheon.com for ; Thu, 8 Jan 2004 22:51:39 GMT Original-Received: from sharr by L75001820.sdo.us.ray.com with local (Exim 4.24) id HR70UM-0006A0-95 for ding@gnus.org; Thu, 08 Jan 2004 14:51:58 -0800 Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Rational FORTRAN, cygwin32) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55853 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55853 Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes: > The =BB*~=AB part is not properly quoted (o=3Dopening, c=3Dclosing quotes= ). Yes, I had noticed that while fiddling around with the exclude settings, which rsync was ignoring. I tried various quoting schemes, including this odd one, and it finally seemed to work, so I left it. The real problem had been the omission of the '=3D' character between "--exclude" and "*~" tokens. > You may use one of the following: > | " '*~'" > | ' "*~"' > | ' \'*~\'' While these all look good, and I tried them all again in good faith, it turns out none of these three alternatives work properly on my system (Cygwin, Windows 2000). This one works like the first I posted (second-level quotes removed): cmd=3D'rsync -e ssh -lptD -vuzb --exclude=3D*~' >> REMOTE=3DPanix:~/temp/sync/gnus > > Some Unix-Standard (SUS2, SYS3? I don't remember exactly) suggest to > use lower case variables. [1] I was just copying some other shell script idioms I've seen. The uppercase names help make the variable names stand out. Enclosing them in braces helps too. The argument you offer makes sense, though, so I'll change the case. >> $CMD -r $* $REMOTE/home/ . > ^^ better use "$@" (including the quotes) Why is one preferable to the other in this case? I read the Bash man page on $* and $@ and can't really see how one should choose. --=20 Steven E. Harris