From owner-freebsd-questions Tue Sep 24 16:20:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFEBF37B401 for ; Tue, 24 Sep 2002 16:20:45 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB17A43E4A for ; Tue, 24 Sep 2002 16:20:44 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-b191.otenet.gr [212.205.244.199]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g8ONKgmZ008292; Wed, 25 Sep 2002 02:20:43 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.6/8.12.6) with ESMTP id g8ONKlpK029954; Wed, 25 Sep 2002 02:20:47 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by hades.hell.gr (8.12.6/8.12.6/Submit) id g8ONKlHO029953; Wed, 25 Sep 2002 02:20:47 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 25 Sep 2002 02:20:46 +0300 From: Giorgos Keramidas To: Peter Leftwich Cc: FreeBSD LIST Subject: Re: no xargs -i flag Message-ID: <20020924232046.GD28112@hades.hell.gr> References: <20020924184251.J64949-100000@earl-grey.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020924184251.J64949-100000@earl-grey.cloud9.net> X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-09-24 18:48, Peter Leftwich wrote: > I'm surprised that xargs has no flag for interactive mode (-i) so that the > command line will be echoed to the terminal asking [y/n/!] where y means yes > proceed and n means no stop now and ! would mean answer y to all remaining > promptings. So, what would you do when a thousand files are piped to xargs? :) Write 'yes' a thousand times? Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message