From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3090 invoked by alias); 25 Jan 2014 12:20:39 -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: 18365 Received: (qmail 13650 invoked from network); 25 Jan 2014 12:20:34 -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=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-POM: The Moon is Waning Crescent (36% of Full) Date: Sun, 26 Jan 2014 01:13:55 +1300 (NZDT) From: Atom Smasher To: meino.cramer@gmx.de cc: zsh-users@zsh.org Subject: Re: "ls" output like find ... -print0 anyhow ??? In-Reply-To: <20140125055411.GA3794@solfire> Message-ID: References: <20140125055411.GA3794@solfire> OpenPGP: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Sat, 25 Jan 2014, meino.cramer@gmx.de wrote: > is there a way to temporary convince 'ls' to act that way, that I can > use '| xargs -0' with it? ================ here's how i do it... ls /path | tr '\n' '\0' -- ...atom ________________________ http://atom.smasher.org/ 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808 ------------------------------------------------- "Think of the press as a great keyboard on which the government can play." -- Joseph Goebbels, Nazi Propaganda Minister.