Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.1.0.14.2.20020313080850.00abc310@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 13 Mar 2002 08:23:29 -0800 To: "Robert Mark Bram" , cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: Continue command to new line In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Robert, The retort: This is an extremely elementary shell usage question and is in no way Cygwin specific. As such, it's not really appropriate on the Cygwin mailing list (nor the Gmane News mirror you're using). I recommend you get a beginners book for Unix / POSIX / Linux systems (Cygwin is none of these, per se, but from the shell user's perspective, it is closest to Linux, I'd say). Cygwin includes two popular interactive shells, BASH and TCSH. Choose a book or other tutorial material that emphasizes the shell you're going to use (BASH is the default). Once you're beyond the basics, the shells diverge in their details. The answer: End the line you wan to continue with a backslash immediately prior to hitting return. On the following line you'll get the prompt "> " to signal that you're on the 2nd or subsequent line of a continued command. You can continue doing this as long as you like. The first line whose return is not preceded by a backslash will cause the shell to interpret and execute the concatenation of all those lines (with the continuation backslashes removed, of course). Randall Schulz Mountain View, CA USA At 23:25 2002-03-12, Robert Mark Bram wrote: >Howdy all! > >Is there a way to split up commands issued on the prompt so that they can >be spread over more than one line? > >Thanks! > >Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/