From owner-freebsd-questions Mon Dec 20 11:10: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 726EE14EF4 for ; Mon, 20 Dec 1999 11:09:57 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id NAA03609; Mon, 20 Dec 1999 13:09:51 -0600 (CST) (envelope-from dan) Date: Mon, 20 Dec 1999 13:09:51 -0600 From: Dan Nelson To: Dan Larsson Cc: "[FreeBSD-Questions-List] (E-post)" Subject: Re: press any key to continue in sh Message-ID: <19991220130951.A2990@dan.emsphone.com> References: <01BF4B21.FD8A5A90.dl@tyfon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <01BF4B21.FD8A5A90.dl@tyfon.net>; from "Dan Larsson" on Mon Dec 20 19:39:53 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Dec 20), Dan Larsson said: > How do I best produce a 'press any key to continue' prompt in sh? I usually use: echo -n 'Press [enter]:' head -1 > /dev/null -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message