From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8411 invoked by alias); 19 Mar 2014 23:57:09 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 8401 invoked by uid 89); 19 Mar 2014 23:57:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 19 Mar 2014 23:57:06 +0000 Received: from [10.9.9.209] (helo=mailfront04.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1WQQM2-0001ZS-EM for kawa@sourceware.org; Thu, 20 Mar 2014 00:57:02 +0100 Received: from 70-36-239-203.dsl.dynamic.sonic.net ([70.36.239.203] helo=localhost.localdomain) by mailfront04.runbox.com with esmtpsa (uid:757155 ) (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) id 1WQQLv-0000Gr-MS for kawa@sourceware.org; Thu, 20 Mar 2014 00:56:56 +0100 Message-ID: <532A2EC4.9030308@bothner.com> Date: Wed, 19 Mar 2014 23:57:00 -0000 From: Per Bothner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "kawa@sourceware.org" Subject: update on Kawa shell programming Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-q1/txt/msg00113.txt.bz2 This article is new: http://per.bothner.com/blog/2014/text-and-binary-data/ This article is now in my judgment ready: http://per.bothner.com/blog/2014/Kawa-shell-programming/ Let me know if you notice a problem. I'll remove the "draft" tag on these if I don't hear anything. I added a new feature to the shell syntax: If you substitute the output of a command, surrounding it by double quotes, then spaces are literals, but newlines are argument separators:. This is useful when you have one filename per line, and the filenames may contain spaces, as in the output from find: &`{ls -l "&`{find . -name '*.pdf'}"} -- --Per Bothner per@bothner.com http://per.bothner.com/