Path: utzoo!attcan!uunet!wuarchive!emory!gatech!udel!princeton!bow!subbarao From: subbarao@bow.Princeton.EDU (Kartik Subbarao) Newsgroups: comp.unix.questions Subject: Re: Can anyone show me a simpler way: Message-ID: <3364@idunno.Princeton.EDU> Date: 16 Oct 90 13:35:52 GMT References: <40852@eerie.acsu.Buffalo.EDU> Sender: news@idunno.Princeton.EDU Lines: 22 In article <40852@eerie.acsu.Buffalo.EDU> cloos@acsu.buffalo.edu (James H. Cloos) writes: >If anyone can show me a simpler way to do this (the simplest?) I'd be >very appreciative: > >uncompress `du -a . | egrep .Z | awk '{print $2}' -` > This solution does not have two pipes, but I'm not sure if it's faster. Intuitively, I'd do: find . -name \*.Z -exec uncompress "{}" \; Hope this helps. -Kartik (I need a new .signature -- any suggestions?) subbarao@{phoenix or gauguin}.Princeton.EDU -|Internet kartik@silvertone.Princeton.EDU (NeXT mail) -| SUBBARAO@PUCC.BITNET - Bitnet