Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'parameter': 0.09; 'parsed': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'programs),': 0.16; 'slash': 0.16; 'which,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'thu,': 0.19; 'command': 0.22; 'memory': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; '(which': 0.31; '(maybe': 0.31; 'figure': 0.32; 'another': 0.32; 'entirely': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'false': 0.36; 'possible': 0.36; 'searching': 0.37; 'nov': 0.38; 'tell': 0.60; 'simply': 0.61; 'banks,': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=dYtrJXliyaMKOl7PU5t8M9lao20EwtTcFZ5p3FVcUV8=; b=WVZkLzlQZPymFm0TEUqVgwwc+75B0+dGuCQGIG0YEWJnAFMUwNJrPyO9uubFfyQLnn SlsoX0C1yVlltr1Hu0rn0ygFAYypDoxfANaoG8+RRD5w6mo0lKltozWqUZsNTWT/66Rj XBXhdneyh85p3m/vOxVLDT7FCFKZITERyrvZqWuLuJ+h+cySFRCZ3A7FqkoHl5bdQWQ8 zv+2nGrgzlKhGCR9HbDRKMembmwj7v9+aUBOLF+/r4zU+ZOyp+qaRefAfA5Iqcy627AP 0B/WDcWdSHaSNBz7N+/YWI7c9MMawVbMulMMAPBrdtJkmbC9D5PU2kHq8XokVLzvc2aa Hxhw== MIME-Version: 1.0 X-Received: by 10.50.171.193 with SMTP id aw1mr23708771igc.2.1417014548863; Wed, 26 Nov 2014 07:09:08 -0800 (PST) In-Reply-To: References: <54756D5F.4040806@tundraware.com> <20141126082606.281ff681@bigbox.christie.dr> Date: Thu, 27 Nov 2014 02:09:08 +1100 Subject: Re: Quotation Ugliness From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417014557 news.xs4all.nl 2977 [2001:888:2000:d::a6]:43182 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81579 On Thu, Nov 27, 2014 at 2:07 AM, Chris Angelico wrote: > I was searching the ol' memory banks, trying to figure out if there > was some way to tell the internal 'echo' command to use slash instead > of dash (maybe for DOS/Windows people??), in which case that would be > parsed as "echo -- hello" and would indeed simply echo "hello". Speaking of which, it's entirely possible to have a "-sudo" parameter to a command (which would be "-s -u -d -o" to many programs), so that's another way to get a false positive. ChrisA