From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 13:23:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CEDB1065679 for ; Thu, 24 Jun 2010 13:23:22 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id DCEC28FC23 for ; Thu, 24 Jun 2010 13:23:21 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so1493840fgb.13 for ; Thu, 24 Jun 2010 06:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=OjByZrIrZiXivvfKEXrrSb9vyXakyY6HFSM6Te9vYhI=; b=vrY/IRx9PBCC9GCepS6viV+JLsPd/OICkzsdqGw0yGa04Tis5LfJkbfta5+SfJC1yj eEbFyGDb9WxrU64xTiAHY9S1XYSD71zBueyZOZC+WkKtjf2E1TEl6ibD8MU5UZ5j0Slj XYbdZ+NtyDkG4PnBB/Kt2Sp+CHqSIIVThmrrM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=jeC+7JFMHzTXZGOEJ5WjDcjezGdmvTFOlj+5NIW2C+b1wv/IzuL04CXeNoiAiu0zIr D0VyKE9DMDnvJHrMXDQVeR+D+rXsiir+frOVMKjDJXX66An54lOAK3qhAAp/MH7Fk6yB VRkfMbfT41DZb0q+NPeiBGqTkE+V4L49XHE7k= Received: by 10.87.70.7 with SMTP id x7mr15703205fgk.77.1277385800421; Thu, 24 Jun 2010 06:23:20 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id d6sm16488327fga.3.2010.06.24.06.23.18 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Jun 2010 06:23:19 -0700 (PDT) Date: Thu, 24 Jun 2010 14:23:17 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100624142317.1eb31efc@gumby.homeunix.com> In-Reply-To: <20100624115014.GB30312@gothschlampen.com> References: <4C22B3D7.6070102@comclark.com> <20100624013755.GA5009@gothschlampen.com> <20100624034434.7a6c2895@gumby.homeunix.com> <20100624031953.GA21766@gothschlampen.com> <20100624115805.7b8b0c44@gumby.homeunix.com> <20100624115014.GB30312@gothschlampen.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 13:23:22 -0000 On Thu, 24 Jun 2010 13:50:14 +0200 Thomas Keusch wrote: > "10" is not valid input according to the problem/pseudocode (in the > forum) that the above code was posted as a solution for. And if you were answering in that forum that would be a good point. > Spoonfeeding solutions to trivial (and trivially researched questions) > is counterproductive on so many levels. You gave him an answer to a different question. When I suggested he skip it, you countered with a test-case that you apparently knew was misleading. There's a diffence between not spoon-feeding and deliberately sending someone off in the wrong direction.