From owner-freebsd-questions@FreeBSD.ORG Fri Apr 8 03:57:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9A1E16A4CE for ; Fri, 8 Apr 2005 03:57:44 +0000 (GMT) Received: from web53302.mail.yahoo.com (web53302.mail.yahoo.com [206.190.39.231]) by mx1.FreeBSD.org (Postfix) with SMTP id 6BB7043D48 for ; Fri, 8 Apr 2005 03:57:44 +0000 (GMT) (envelope-from non_secure@yahoo.com) Received: (qmail 84860 invoked by uid 60001); 8 Apr 2005 03:57:43 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=xXL8dYqmURwAFkIutg1xC7ExhneiBM8xFmLCYh+oL4rjRRByh8aChAFDteZu8O2MHYEUf45iRvWvRB5U/dsMfgXCgvR+AV16lcBsueiwDfDGdhYim27Si81D9GSg17QxY+GDpVyxZExSDIl91n5yU3ws8+Bux+DYmMPJHu9fu8I= ; Message-ID: <20050408035743.84858.qmail@web53302.mail.yahoo.com> Received: from [24.94.26.201] by web53302.mail.yahoo.com via HTTP; Thu, 07 Apr 2005 20:57:43 PDT Date: Thu, 7 Apr 2005 20:57:43 -0700 (PDT) From: Joe Schmoe To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: setting an alias in .cshrc with parentheses in it ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 03:57:45 -0000 Hello, I often run this command: lynx -useragent "blah blah (compatible; MSIE blah blah)" Note that the custom referrer string that I set includes parentheses. So, to save time, I added this line to my .cshrc: alias lynx lynx -useragent "blah blah (compatible; MSIE blah blah)" However, when I run lynx, I get this error: Badly placed ()'s If I escape the parentheses with a backslash in .cshrc, it also doesn't work - it splits the line up and lynx thinks that the next command line argument begins where the first backslash is inserted. So how do I include a command alias that contains parentheses into .cshrc ? thanks. __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com