Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 68793 invoked from network); 10 Apr 2008 18:06:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Apr 2008 18:06:18 -0000 Received: (qmail 1145 invoked by uid 500); 10 Apr 2008 18:06:16 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 1059 invoked by uid 500); 10 Apr 2008 18:06:16 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 1050 invoked by uid 99); 10 Apr 2008 18:06:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2008 11:06:16 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [85.158.181.16] (HELO server172-han.de-nserver.de) (85.158.181.16) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2008 18:05:23 +0000 Received: (qmail 30413 invoked from network); 10 Apr 2008 20:05:35 +0200 Received: from Unknown (HELO darkstar.attendees.eu.apachecon.com) (62.12.12.3) (smtp-auth username siegfried.goeschl@it20one.com, mechanism plain) by server172-han.de-nserver.de (qpsmtpd/0.40) with (AES256-SHA encrypted) ESMTPSA; Thu, 10 Apr 2008 20:05:35 +0200 Message-ID: <47FE56F4.4060901@it20one.at> Date: Thu, 10 Apr 2008 20:05:40 +0200 From: Siegfried Goeschl Reply-To: siegfried.goeschl@it20one.at Organization: IT20one GmbH User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: svn commit: r646842 - /commons/sandbox/exec/trunk/src/test/scripts/forever.sh References: <20080410152226.0C20D1A9832@eris.apache.org> <25aac9fc0804100947k6743af83t773a8c91b78a31fd@mail.gmail.com> In-Reply-To: <25aac9fc0804100947k6743af83t773a8c91b78a31fd@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-User-Auth: Auth by siegfried.goeschl@it20one.com through 62.12.12.3 X-Virus-Checked: Checked by ClamAV on apache.org Hi Sebb, > But that does not work on e.g. FreeBSD. > > Indeed the code will now just create an ever-larger file, not print > ... to the screen +) printing the funny dots was just something I ommited to delete - I want to make a verification to ensure that the script was executed successfully by ensure that the file exists and is not empty +) would the statement would work on FreeBSD in general? Cheers, Siegfried Goeschl sebb wrote: > On 10/04/2008, sgoeschl@apache.org wrote: > >> Author: sgoeschl >> Date: Thu Apr 10 08:22:17 2008 >> New Revision: 646842 >> >> URL: http://svn.apache.org/viewvc?rev=646842&view=rev >> Log: >> Changed the usage of the echo statement to work with HP-UX (thanks to sebb) >> >> Modified: >> commons/sandbox/exec/trunk/src/test/scripts/forever.sh >> >> Modified: commons/sandbox/exec/trunk/src/test/scripts/forever.sh >> URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/scripts/forever.sh?rev=646842&r1=646841&r2=646842&view=diff >> ============================================================================== >> --- commons/sandbox/exec/trunk/src/test/scripts/forever.sh (original) >> +++ commons/sandbox/exec/trunk/src/test/scripts/forever.sh Thu Apr 10 08:22:17 2008 >> @@ -22,6 +22,5 @@ >> while test "notempty" >> do >> sleep 1 >> - echo -n . >> - # echo -n . >> ./target/forever.txt >> + echo '.\c' >> ./target/forever.txt >> > > But that does not work on e.g. FreeBSD. > > Indeed the code will now just create an ever-larger file, not print > ... to the screen > > >> done >> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org