From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24939 invoked by alias); 16 Nov 2012 18:22:34 -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: 17397 Received: (qmail 4129 invoked from network); 16 Nov 2012 18:22:22 -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 Received-SPF: none (ns1.primenet.com.au: domain at vallentin.net does not designate permitted sender hosts) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:x-pgp-fingerprint:user-agent:x-gm-message-state; bh=PlKhLQJsZ9bY+ly19B3sUrkaA45osckiF42i0VCKLEM=; b=iRCBJIUVdo9pBJcwoqqZTgCYlUktwGK7dfHtftDfZgMCFqJfWQmB5pIde6FtnlMcWD 4Us2J085T9puJMu6RWwFKIDUtQsS41tv1KNajaFr0LztMJC6NxO/R+2LqTVVf9iO8KYi HplUrymsacstPg0vE2hsI7HX/eIA9hRiK1TjS8fuH07ZF3Bis1Jbl0oAzmby5+P3XuIY Yh9TSocZ4MNNWQJAgFcMlQge9FjY+0lK5HXDuI/pN8qlBSuXSCyAPxRjXY48Yg7Ck/Re 9RqgmowSFxSynGKgPiKP4QMNTg0lQdQOGC3jMTN7Sk88xYfb1SuvT3kDywvBU9eFbl8l 5sfA== Sender: Matthias Vallentin Date: Fri, 16 Nov 2012 10:00:16 -0800 From: Matthias Vallentin To: zsh-users@zsh.org Subject: Applying glob qualifiers to non-variable types Message-ID: <20121116180016.GJ24247@icir.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Fingerprint: 8A3B 1323 B469 CCBA 54D3 3BCC D5E7 8DF5 9C8D 4B41 User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQmqDyCoj2VW8B1jxnvtI2lkZQ8NTNj8s/wggzadTKjpHs/mbuvQJUtBC44D0+BvoXDJucMw I have a scenario where a command gives similar output to find, .e.g., ./path/to/foo.ext ./path/to/bar.ext I was wondering if it is possible to use glob qualifier to handle the output in the following way: command | print :t:r where would be some magic I am missing. I tried to capture STDIN in various ways $(