help-bash
[Top][All Lists]
Advanced

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

Re: non working code .. loop ends after one


From: alex xmb ratchev
Subject: Re: non working code .. loop ends after one
Date: Wed, 1 Mar 2023 22:36:38 +0100

On Wed, Mar 1, 2023, 10:26 PM alex xmb ratchev <fxmbsw7@gmail.com> wrote:

>
>
> On Wed, Mar 1, 2023, 10:11 PM alex xmb ratchev <fxmbsw7@gmail.com> wrote:
>
>> hello ,
>> im at a scp file list script
>> it had few typos , then it began to work
>> but only one line outta the file
>> then nothing , just exit ..
>>
>
> i mean it exits
> IFS=
> read ..
> <exit>
>

so in short restated
the problem is , it runs one entry off a \\0 list , and not more
== one inner-loop entry and ciao

btw i wrote IFS= read .. not IFS= \n read .. isnt that errortating ?

 the cmd is
>> bash -x scp.u shone {user}@192.168.106.97:/mnt/1/fav aa1
>>
>> shone the ' ssh hash one dir '
>> aa1 is a \0 sep file list
>>
>> .. i paste some files , my gmail is no good ..
>>
>> scp.u the script
>> scp.u.proof a find on remote after one file
>> scp.u.err the -x of the script first run
>> scp.u.err2 the -x of second run
>> scp.u.shellcheck the sc output for the script
>>
>>


reply via email to

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