Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #226472
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: right after installation errors reported during booting (dmesg) ... |
| Date | 2020-08-24 14:20 +0200 |
| Message-ID | <AHjC9-36n-3@gated-at.bofh.it> (permalink) |
| References | <AGeEx-4Iq-3@gated-at.bofh.it> <AGf7z-57i-1@gated-at.bofh.it> <AGBUu-1NX-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Aug 22, 2020 at 03:38:59PM +0200, Albretch Mueller wrote: > On 8/21/20, The Wanderer <wanderer@fastmail.fm> wrote: > > Wow. That's some dense, opaque code. > > my only intention was to get something done as quickly as possible. I > didn't even know that people cared about proper writing of bash > script. Is there such a thing? Do people take it seriously? Not enough, unfortunately. Way too many people just throw together some stuff that *looks* like it works (because they didn't test it properly), and then it goes into production and becomes a landmine just waiting to explode. The code in question had several quoting errors, and was using internal shell variables that didn't contain any lowercase letters. Also, for some reason, almost all of the variables began with the _ character. I have no idea why, but it certainly doesn't help readability. I didn't analyze it beyond that.
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
right after installation errors reported during booting (dmesg) ... Albretch Mueller <lbrtchx@gmail.com> - 2020-08-21 14:50 +0200
Re: right after installation errors reported during booting (dmesg) ... The Wanderer <wanderer@fastmail.fm> - 2020-08-21 15:20 +0200
Re: right after installation errors reported during booting (dmesg) ... Albretch Mueller <lbrtchx@gmail.com> - 2020-08-22 15:40 +0200
Re: right after installation errors reported during booting (dmesg) ... The Wanderer <wanderer@fastmail.fm> - 2020-08-22 15:50 +0200
Re: right after installation errors reported during booting (dmesg) ... Gene Heskett <gheskett@shentel.net> - 2020-08-22 18:40 +0200
Re: right after installation errors reported during booting (dmesg) ... steef <debian.linux@home.nl> - 2020-08-22 19:30 +0200
Re: right after installation errors reported during booting (dmesg) ... Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-24 14:20 +0200
csiph-web