From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23716 invoked by alias); 3 Dec 2014 17:11:10 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19485 Received: (qmail 29503 invoked from network); 3 Dec 2014 17:10:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=AduIQRnG c=1 sm=1 tr=0 a=tDZUtGgdvB6RbretPev/jw==:117 a=tDZUtGgdvB6RbretPev/jw==:17 a=G8GL833Es-AA:10 a=-CRmgG0JhlAA:10 a=DQdGuFUApcd7zqv9F-4A:9 a=jiObf9B0YAUA:10 Message-id: <547F441E.6060606@eastlink.ca> Date: Wed, 03 Dec 2014 09:10:54 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-version: 1.0 To: Roman Neuhauser Cc: =?ISO-8859-2?Q?Lawrence_Vel=E1zquez?= , zsh-users@zsh.org Subject: Re: triviality with prompts References: <547E568C.6070607@eastlink.ca> <141202190200.ZM31930@torch.brasslantern.com> <547E9158.6050103@eastlink.ca> <9CD0DDE8-21AB-4EA3-A69F-9B338ECC83F1@macports.org> <547F385B.3070405@eastlink.ca> <20141203164353.GO23965@isis.sigpipe.cz> In-reply-to: <20141203164353.GO23965@isis.sigpipe.cz> Content-type: text/plain; charset=iso-8859-2; format=flowed Content-transfer-encoding: 7bit On 12/03/2014 08:43 AM, Roman Neuhauser wrote: > well, $'' is apparently different syntax from '', and it's dangerous > to assume that two different syntaxes have the same semantics. *Another* gotcha yet again? Yes, making assumptions is dangerous, but not doing anything for fear of the next gotcha is not an option. I guess one just walks through the mine-field and when things blow up, you know you've found a mine. It's only software, so no one dies. Trial and error. > YMMV, but when i'm working on a script, the biggest slice of the time > spent with the various zsh* man pages is in zshmisc(1) and zshexpn(1). > you might also get some new insight from giving them a read or two. Thanks. So many scrolls!