[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: |
Thu, 2 Mar 2023 01:19:59 +0100 |
On Thu, Mar 2, 2023, 1:11 AM Chet Ramey <chet.ramey@case.edu> wrote:
> On 3/1/23 4:11 PM, alex xmb ratchev 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 ..
>
> Without looking at your script, 99% of problems of this type are the
> result of ssh/scp consuming all of stdin, leaving nothing for the rest
> of the script. Look at the -n option.
>
o its hash app not right coded
--
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
>
>
- Re: non working code .. loop ends after one, (continued)
- Re: non working code .. loop ends after one, alex xmb ratchev, 2023/03/01
- Re: non working code .. loop ends after one, Kerin Millar, 2023/03/01
- Re: non working code .. loop ends after one, alex xmb ratchev, 2023/03/02
- Re: non working code .. loop ends after one, Kerin Millar, 2023/03/02
- Re: non working code .. loop ends after one, Greg Wooledge, 2023/03/02
- Re: non working code .. loop ends after one, alex xmb ratchev, 2023/03/03
- Re: non working code .. loop ends after one, alex xmb ratchev, 2023/03/03
Re: non working code .. loop ends after one, alex xmb ratchev, 2023/03/01
Re: non working code .. loop ends after one, Chet Ramey, 2023/03/01