Path: utzoo!mnetor!uunet!husc6!sri-unix!quintus!sun!decwrl!decvax!gsg!lew From: lew@gsg.UUCP (Paul Lew) Newsgroups: comp.unix.wizards Subject: Re: folding arguments Message-ID: <121@gsg.UUCP> Date: 12 Feb 88 04:35:47 GMT References: <3822@megaron.arizona.edu> Reply-To: lew@gsg.UUCP (Paul Lew) Organization: General Systems Group, Salem, NH Lines: 12 I forgot to mention that you may use the standard method: $ find $DIR -exec command '{}' \; instead of: $ find $DIR -print | sed s/^/command /' | sh However, the 2nd method allows the find command to be any command that generates a list of filenames and is more generic. e.g., $ tar t | sed s/^/command /' | sh -- Paul Lew {oliveb,harvard,decvax}!gsg!lew (UUCP) General Systems Group, 5 Manor Parkway, Salem, NH 03079 (603) 893-1000