thank you sir dale, while i was cleaning up the code for another paste with more details i came across that when i add a empty newline before the first for, the bug line disappears
small conclusion: . code works, eval "$( < file )" worked, but alias version not without empty newline .. im sorry i have a hard time typing on android stuff long On Mon, Nov 16, 2020, 05:18 Dale R. Worley <wor...@alum.mit.edu> wrote: > Alex fxmbsw7 Ratchev <fxmb...@gmail.com> writes: > > i code shortened coding codings, or at least wish to > > here in my x7yz control script i '. -- +al' a ./+al file which then > > [...] > > any ideas ? > > This is *really* hard to understand. None of the names of files, > variables, or functions describes what they are intended to do, and > there are no comments that do so. It is likely that much of the code > could be removed and still have an illustration of the problem case. > > Also, it is generally recommended that aliases be replaced with > functions, as the processing of functions has better syntactic and > semantic behavior. > > Dale >