From owner-freebsd-questions@freebsd.org Mon Oct 9 14:18:06 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 4081EE31522 for ; Mon, 9 Oct 2017 14:18:06 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 55FFF68378 for ; Mon, 9 Oct 2017 14:18:05 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x230.google.com with SMTP id i124so22875636wmf.3 for ; Mon, 09 Oct 2017 07:18:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3SEuZFlQGuCMPw9S6s+6qBH+HBQjYLhnjLtdEsMV/UQ=; b=UqW+V/Dgnoydqyvi93Xrlc7mBPNfjkTIxwh7bIp3/AoBPfk5ZQumzD03+P6VYJx7+1 iGN/yt4iZE2RfX/1DTZdJ5ca4UkYhkZS9zoxu+qRQzNHtsDBNw/rUvSFBB5h1qaHntgM hLVVThbZNqi7jSNxlroQ0r/TGZuEufR3P8fKxCyCfej1hxgKnWunVvR7Ss75uiPvm4Ms VT3b1IdERYKZIc4P3vRpia52ZQPhARd/58q3z/3cprTthTAe3Je3cp5f2XWWY2vE3Y3D emQFAOv0HxRffAgMqwvfJduCgf4dFBvzhjdOaFS7kpjMxr9R8zXnq2g5l41CBLEClEsN v32A== X-Gm-Message-State: AMCzsaUHYF1KN74yxryY9ewmn+pz0661jrIc2gxl2/AizNU9yqJhH/fp l6uJ7fV+xnIMXKQhT6YlkhVgyQ== X-Google-Smtp-Source: AOwi7QAIeXnbdfV4X+lMzB0sNEYCt1T8ZkckQpWv6f53ZTlhA1yQiCp9FmkLoqAqJ7eKx4GwNX9b2A== X-Received: by 10.80.145.148 with SMTP id g20mr3003852eda.140.1507558683281; Mon, 09 Oct 2017 07:18:03 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id h56sm10155202ede.15.2017.10.09.07.18.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Oct 2017 07:18:02 -0700 (PDT) Date: Mon, 9 Oct 2017 15:17:51 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Scripting problem Message-ID: <20171009151751.3800f84c@gumby.homeunix.com> In-Reply-To: <1984508980.4145408.1507553196491@mail.yahoo.com> 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: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Mon, 09 Oct 2017 14:18:06 -0000 On Mon, 9 Oct 2017 12:46:36 +0000 (UTC) Paul Pathiakis via freebsd-questions wrote: > =20 > I find sh to be that 'tool' to use > when I want to call other tools and utilities.=C2=A0 (sed, awk, tr, etc) > ### I think people have gone way too far in creating 'scripting' > languages that are more programming languages than scripting.... > Personally, I tried learning PERL which tries to be everything to > regex.=C2=A0 The problem?=C2=A0 Lack of coherence... "I can do this 5 dif= ferent > ways in PERL"=C2=A0 Is that supposed to be a good thing when all five seem > to execute at different speeds, using different resources, etc? The same is true of shell scripting, and my understanding is that perl was designed to reproduce this for the benefit of experienced shell scripters.=20