Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.unix.shell,comp.os.linux.misc Subject: Re: Over-Elaborate Shell Scripting Date: 14 Mar 2026 02:35:23 GMT Lines: 26 Message-ID: References: <10otpi4$1opu8$3@dont-email.me> <10otrqi$1p9ft$1@dont-email.me> <10ou2q9$1qp29$1@dont-email.me> <10oucet$vo4d$2@news.xmission.com> <10ouhk5$22anv$1@dont-email.me> <20260312095816.00001163@gmail.com> <69b33726@news.ausics.net> <20260313080000.00004c23@gmail.com> <10p1cg9$3an5p$4@dont-email.me> <20260313092610.000065be@gmail.com> <10p1mva$3g8pp$1@dont-email.me> <20260313122129.00007909@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net NgOxejiQqDcm8hw4jBlPTgJ0AmD2bN32V7VJd7RKeSGer9rCuG Cancel-Lock: sha1:Cyx+YKhzQyUcZ39dtm05rbNnF6g= sha256:+v1NCdpQfEMh8brBHQrMCTPpbhbft7Oct3x4bIvb8Q4= User-Agent: Pan/0.162 (Pokrosvk) Xref: csiph.com comp.unix.shell:26714 comp.os.linux.misc:82952 On Fri, 13 Mar 2026 12:21:29 -0700, John Ames wrote: > On Fri, 13 Mar 2026 19:02:02 +0000 The Natural Philosopher > wrote: > >> > Allows you to use the same language across the board. A bit >> > unorthodox, but I can see the use of it. >> >> But 90% of my php is in fact straight HTML. > > Ditto - but adding PHP (or another preprocessor utility) to the mix > allows me to write the common sections (header, footer, nav. sidebar) > once, in a separate file, rather than having to update them manually > across every single page every time I need to change something. It's not > *as* useful when it's not happening automagically server-side, but it > still saves a lot of tedium. There is a learning curve but in Python the Flask framework pulls in Jinja as the templating engine. https://jinja.palletsprojects.com/en/stable/templates/#template- inheritance We had a programmer who loved PHP (Personal Home Page). I dipped into the code a couple of times trying to do minor fixes and it wasn't pretty.