From owner-freebsd-questions@freebsd.org Thu Oct 12 07:17:56 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E9BCE4665F for ; Thu, 12 Oct 2017 07:17:56 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1E8769798 for ; Thu, 12 Oct 2017 07:17:55 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1507792674; x=1510384674; h=x-thread-info:date:from:to:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=YJfBxvV4FPQzz6fUyUxCLnDxj5NSnEB4tEje4JAihXY=; b=S8UHsaHQDPwZ/h1kVpdd3PM1u0t9PK9uYKjcq1So4qcD8d6uoRI82bVuHO4V8pAHh+Uyyldj/RA0zgGsqFKVKDJUwA58CH2iVkVeUxyYMyh/t5312r2QgcaR3ucaH1ZXtdCaBZHuh63zwUrb5ncjjWmuzhpoQ0AXMOqfBpSBCfc= X-Thread-Info: NDI1MC4xMi5lNTAwMDAwMDA1ZGU3Zi5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r5.us-west-2a.aws.in.socketlabs.com (r5.us-west-2a.aws.in.socketlabs.com [52.39.5.146]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 12 Oct 2017 03:17:36 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r5.us-west-2a.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 12 Oct 2017 03:17:37 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1e2XkN-0008l8-71 for freebsd-questions@freebsd.org; Thu, 12 Oct 2017 07:17:35 +0000 Date: Thu, 12 Oct 2017 08:17:35 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Scripting problem Message-Id: <20171012081735.4a3e2f9e19e8c1fb50d0c7c1@sohara.org> In-Reply-To: References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> <20171008100017.30ab5987.freebsd@edvax.de> <88D321A2CCD516AEF39DE8C3@Pauls-MacBook-Pro.local> <1984508980.4145408.1507553196491@mail.yahoo.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 07:17:56 -0000 On Wed, 11 Oct 2017 17:01:55 -0600 (MDT) Warren Block wrote: > Perl is much-maligned, but every time I rewrite a shell script in Perl > it gets shorter and easier to maintain. Or longer and more powerful. > Python and Ruby are similar. The group of people determined to cram as much functionality into as few bytes of source as possible (eg RSA encryption in a .sig block) did Perl's reputation no favours. You can write hideously unreadable executable line noise in Perl, but you can also write wonderfully clear and expressive code that is a joy to work with. -- Steve O'Hara-Smith