On Mon, Jul 3, 2023, 18:22 Dennis Williamson <dennistwilliam...@gmail.com> wrote:
> > > On Mon, Jul 3, 2023 at 11:11 AM alex xmb ratchev <fxmb...@gmail.com> > wrote: > >> >> >> >> thats a like 30% or smth >> enuff for me >> i d be the fool typing nonsensly ; s >> > > Do what you like, but percentages don't mean anything unless you're > running a lot of assignments in a loop like the artificial conditions in > the test I showed. A few microseconds (the absolute number - not a > percentage) really won't make a difference in very many scripts. > there s speed up thers me wanting it i agree im not mr average I write for readability and maintainability. Sometimes chaining assignments > (this may have a better name - Bash doesn't support this type: a=$b=$c) or > multiple assignments separated by semicolons makes sense for organization, > etc. But I almost always write one statement per line - command, > assignment, etc. I even put then and do on their own lines (but that's just > a style choice). > i began one cmd one line some recently looks very good sometimes .. especially with reverse indenting chaining var assignments , yes -- > Visit serverfault.com to get your system administration questions > answered. >