From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20758 invoked by alias); 25 Mar 2014 12:29:27 -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: 18675 Received: (qmail 10857 invoked from network); 25 Mar 2014 12:29: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=-0.7 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_NUMERIC_HELO,SPF_HELO_PASS autolearn=no version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: zzapper Subject: Re: Re[2]: Segregating a Global Alias Date: Tue, 25 Mar 2014 12:28:55 +0000 (UTC) Organization: Your Company Message-ID: References: <201403241904030744.002438FA@localhost> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 2.25.243.107 User-Agent: Xnews/2009.05.01 X-Antivirus: avast! (VPS 140325-0, 03/25/2014), Outbound message X-Antivirus-Status: Clean "Manuel Presnitz" wrote in news:201403241904030744.002438FA@localhost: > > This doesn't look very sophisticated, but seems to work -- and is > rather close to your original approach: > > perl -ne 's/(<\/\w+>)/$1\n/g; print' < NF > $(print NF).txt > > ---Manuel. Manuel yes this demonstrates how to append to the result of Global Alias cat NF > $(print NF).txt -- zzapper https://twitter.com/dailyzshtip --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com