Date: Fri, 16 Oct 2020 06:32:11 +0200 From: Ralf Mardorf <ralf-mardorf@riseup.net> To: freebsd-questions@freebsd.org Subject: Re: sh scripting question Message-ID: <20201016063211.2f8b3a74@archlinux> In-Reply-To: <c6096f5d-84f5-af81-7407-9bda06c7b240@panix.com> References: <24456.60388.135834.43951@jerusalem.litteratus.org> <20201015204226099763897@bob.proulx.com> <c6096f5d-84f5-af81-7407-9bda06c7b240@panix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Oct 2020 23:14:13 -0400, Kurt Hackenberg wrote: >On 2020-10-15 23:05, Bob Proulx wrote: > >> Oh you are tormenting us now. :-) There are some subtle issues >> here. > > >Maybe a shell is the wrong tool. Exactly! Scripts are useful to handle tasks, such as dealing with reasonable file names. A script should work around reasonable tricky file names, but at some point bothering with really freakish file names isn't worth the effort. Actually file names should be compatible with shell, if they are intended to be used with shell scripts. To some extent we could use shell scripts, to write little programs, that probably better should be written in a programming language. At some extent a programming language is required, a shell script can't do the job at all or at best it could do the job, but not with reasonable effort.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201016063211.2f8b3a74>