[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non working code .. loop ends after one
From: |
Chet Ramey |
Subject: |
Re: non working code .. loop ends after one |
Date: |
Wed, 1 Mar 2023 19:11:52 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
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.
--
``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, 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 <=