Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou Newsgroups: alt.comp.os.windows-10,alt.comp.software.firefox,comp.editors Subject: Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Date: Fri, 24 Jan 2025 10:40:15 +0100 Organization: A noiseless patient Spider Lines: 30 Message-ID: References: <6792CFCD.7020704@backwurst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Fri, 24 Jan 2025 10:40:23 +0100 (CET) Injection-Info: dont-email.me; posting-host="db4c5d9988060d71d719b76eb966ba06"; logging-data="2289793"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Fu1dqLvr1xjd1o8t4V3Ly" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:/fK/asgLBa4KpAx2pK7/QkWVSLM= In-Reply-To: X-Enigmail-Draft-Status: N1110 Xref: csiph.com alt.comp.os.windows-10:181695 alt.comp.software.firefox:12082 comp.editors:106519 On 24.01.2025 00:35, Marion wrote: > On Fri, 24 Jan 2025 00:25:01 +0100, Frank Miller wrote : > >>> Please improve so that billions of people can benefit from this script >>> which appends a new URL & description to the users' global bookmarks. >> >> WOW!I'm really impressed! That's a new level of super egocentric hubris. Yeah, that's what made me laugh when I read it; imagining "billions" of MS *.bat programmers. >> Tried that right now on my Linux-System and it didn't do *anything*! >> A really crappy programmed script. > > Funny you mention what I was working on for my dual-boot desktop PC... > > It's not done yet, but even though the linux newsgroups were NOT on the > newsgroups list, since you complained that the script worked for only > Windows users, here's an unfinished yet equivalent Linux Bash script, [...] It would be yet more useful if you'd not have restricted your script to Bash and Linux. The script is so primitive (i.e. it has no special features) that it can be written in standard shell for any standard Unix. Hints: use no "read -p" and no "[[...]]". And I'd replace 'echo' by 'printf' for a good measure (and also less [unnecessary] escaping). Janis