From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22810 invoked by alias); 27 Nov 2002 21:25:27 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 22796 invoked from network); 27 Nov 2002 21:25:24 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 27 Nov 2002 21:25:24 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18H9eL-0000es-00 for ; Wed, 27 Nov 2002 22:23:13 +0100 To: gdb@sources.redhat.com X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18H9Un-0008Te-00 for ; Wed, 27 Nov 2002 22:13:21 +0100 Path: not-for-mail From: Ben Elliston Subject: Re: redirecting output Date: Wed, 27 Nov 2002 13:25:00 -0000 Organization: Red Hat Asia-Pacific Pty Ltd Message-ID: References: NNTP-Posting-Host: to-velocet.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1038431601 30637 216.138.202.10 (27 Nov 2002 21:13:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 27 Nov 2002 21:13:21 +0000 (UTC) User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) Cache-Post-Path: scooby!unknown@localhost X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) X-SW-Source: 2002-11/txt/msg00397.txt.bz2 >>>>> "Per" == Per Fransson writes: Per> b Per> run Per> si Per> si Per> si Per> . Per> . Per> 'bout a million si's Per> . Per> . Per> . Per> si Per> si Per> q BTW, it is not necessary to print about a million si'.s You can run "si" inside a while loop. From memory, the while loop will terminate when the program terminates. Ben