help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simpler question about my script


From: Alex fxmbsw7 Ratchev
Subject: Re: simpler question about my script
Date: Wed, 16 Feb 2022 02:46:04 +0100

oh i also just learned about ssh -L and -R forwarding, at least
theoretically
so this is obsolete extra code for fun

On Wed, Feb 16, 2022 at 2:45 AM Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com>
wrote:

>
>
> On Wed, Feb 16, 2022 at 1:47 AM Greg Wooledge <greg@wooledge.org> wrote:
>
>> On Wed, Feb 16, 2022 at 01:22:16AM +0100, Alex fxmbsw7 Ratchev wrote:
>> > for me its like a dream, i edit a file in functions/ without tabbing as
>> is
>> > a new file and it auto loads it into the script
>>
>> You want that?  Fine.  Put a simple loop at the start of your script.
>>
>
> u keep telling me to do worse than i do
>
>>
>> #!/bin/bash
>>
>> for f in functions/*; do
>>   [[ -f $f ]] && source "$f"
>> done
>>
>
> this is no valid bash script formaatting of different bash feature elements
> also its not acceptably slow so
>
>
>> # Rest of the script here.
>>
>>
>> I don't know why you make everything so cryptic.
>>
>
> its just stacked up what i wrote in small files, formatted to bash syntax
>
> what to tell you man, we have misunderstandings..
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]