Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!teddy!panda!talcott!harvard!seismo!brl-tgr!tgr!POSER@SU-CSLI.ARPA From: Bill PoserNewsgroups: net.unix Subject: Re: echo -n Message-ID: <7196@brl-tgr.ARPA> Date: Thu, 10-Jan-85 18:02:44 EST Article-I.D.: brl-tgr.7196 Posted: Thu Jan 10 18:02:44 1985 Date-Received: Sun, 13-Jan-85 07:43:21 EST Sender: news@brl-tgr.ARPA Organization: Ballistic Research Lab Lines: 10 By default, echo puts a newline at the end of the string it prints. The -n option leaves out the newline. This is useful, for example, in prompts; e.g. to prompt for terminal type in a .login file do: echo -n "Terminal: " and whatever the user types will appear on the same line as the prompt. Bill Poser (poser@su-csli). -------