Can anyone show me a simpler way:

Kartik Subbarao subbarao at bow.Princeton.EDU
Tue Oct 16 23:35:52 AEST 1990


In article <40852 at eerie.acsu.Buffalo.EDU> cloos at 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 at silvertone.Princeton.EDU (NeXT mail)       -|	
SUBBARAO at PUCC.BITNET			          - Bitnet



More information about the Comp.unix.questions mailing list