optparse eats $
gordon at panix.com
Tue Apr 19 22:34:57 CEST 2011
In <f315a5f9-b11a-48e8-b5ce-1e72dcabc161 at glegroupsg2000goo.googlegroups.com> tazz_ben <ben at 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 at panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
More information about the Python-list