Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!snorkelwacker.mit.edu!mit-eddie!bbn.com!papaya.bbn.com!rsalz From: rsalz@bbn.com (Rich Salz) Newsgroups: comp.unix.shell Subject: Re: Prompting for yes/no in csh Message-ID: <3205@litchi.bbn.com> Date: 9 Jan 91 15:13:13 GMT References: <3821@ns-mx.uiowa.edu> <1991Jan8.204745.16927@informix.com> Distribution: usa Organization: BBN Systems and Technology, Inc. Lines: 12 In <1991Jan8.204745.16927@informix.com> dberg@informix.com (David I. Berg) writes: > echo -n "This is my question. What is your answer? [y/n] (n): " I have found that echo "say what?" | tr -d '\012' is the most portable way to handle both echo -n and echo stuff\c /r$ -- Please send comp.sources.unix-related mail to rsalz@uunet.uu.net. Use a domain-based address or give alternate paths, or you may lose out.