Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3588
| From | John Gordon <gordon@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: optparse eats $ |
| Date | 2011-04-19 20:34 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <iokrlh$dfe$1@reader1.panix.com> (permalink) |
| References | <f315a5f9-b11a-48e8-b5ce-1e72dcabc161@glegroupsg2000goo.googlegroups.com> |
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 | Next — Previous in thread | Next in thread | Find similar
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