Subject: Re: weird prompt
To: None <netbsd-help@netbsd.org>
From: Matt Rowland <matt@paperlove.org>
List: netbsd-help
Date: 07/10/2002 23:30:12
--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 10, 2002 at 07:45:25PM -0700, Pramod Srinivasan wrote:
> Is there any way a netbsd system can get into ">"
> prompt?
---end quoted text---

Several ways, in fact. A stray single or double quote at the end of
a line will take you to '>', as will a backslash at the end of a line
or a pipe with nothing after it. In these cases, it's a
continuation of the line you were typing, so to speak. For quotes,
the shell wants a matching quote. A backslash can be used
specifically TO continue a command to the next line, and if there's a
pipe (|) with nothing after it, the shell wonders where that pipe
goes.

Not necessarily that weird at all.

HTH
Matt

--=20
matt at paperlove dot org :  peasoapluv!  : www.paperlove.org
Open Source Advocate::Consultant::Designer::Webmaster::Artist
-------------------------------------------------------------
paperlove dot org ...change how you think about communication

***  HTML email to this address will likely not be read.  ***

--n8g4imXOkfNTN/H1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9LPvDhNKGMvsPHLYRAuhEAJ0TgC8tNyM5PnWw7q3JqpOha5ThFACdHc0v
uzFhINY1JszIKm6uU19JUnk=
=DiKX
-----END PGP SIGNATURE-----

--n8g4imXOkfNTN/H1--