Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #3588

Re: optparse eats $

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!gordon
From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: optparse eats $
Date Tue, 19 Apr 2011 20:34:57 +0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Lines 12
Message-ID <iokrlh$dfe$1@reader1.panix.com> (permalink)
References <f315a5f9-b11a-48e8-b5ce-1e72dcabc161@glegroupsg2000goo.googlegroups.com>
NNTP-Posting-Host panix2.panix.com
X-Trace reader1.panix.com 1303245297 13806 166.84.1.2 (19 Apr 2011 20:34:57 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Tue, 19 Apr 2011 20:34:57 +0000 (UTC)
User-Agent nn/6.7.3
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:3588

Show key headers only | View raw


In <f315a5f9-b11a-48e8-b5ce-1e72dcabc161@glegroupsg2000goo.googlegroups.com> tazz_ben <ben@wbpsystems.com> writes:

> So, any ideas?  Why is including a $ eating both the dollar signa and the 1?

Unix command lines tend to assume any $ inside double-quotes is a shell
variable name.  Try enclosing in single-quotes instead.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

optparse eats $ tazz_ben <ben@wbpsystems.com> - 2011-04-19 13:28 -0700
  Re: optparse eats $ John Gordon <gordon@panix.com> - 2011-04-19 20:34 +0000
  Re: optparse eats $ Peter Otten <__peter__@web.de> - 2011-04-19 22:36 +0200

csiph-web