Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Unknown Newsgroups: comp.os.linux.misc Subject: composition ? piping Date: Thu, 21 Aug 2014 20:50:04 +0000 (UTC) Organization: A noiseless patient Spider Lines: 16 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 21 Aug 2014 20:50:04 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="d39a86c5cf9f40e1ad86b05c2f6fab19"; logging-data="5829"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QTNlHdKPyPxzGcOJ4B+I7VkaHEFCNBhQ=" User-Agent: Pan/0.133 (House of Butterflies) Cancel-Lock: sha1:/70v4K6hGt8/cQAt6YYYdaEX36w= Xref: csiph.com comp.os.linux.misc:11784 Show me the line-count of the newest [by change time] file, in the same dir as the executable file:M; in a compositional/non*nix syntax might be: M which | dirname | ls -t | head -1 | cat | wc -l How is it in this ad hoc *nix mess ? Also, is 'rename-piping' possible? eg. instead of: cp A b.wav; aplay b.wav ; rm b.wav aplay ` ? == TIA.