Re: Off Topic bash question

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




On 23/07/2020 15:37, Jerry Geis wrote:
Thanks, when I change it do the following I get a syntax error

#!/bin/bash
#
while read LINE
do
          echo $LINE
done < cat list.txt
done < list.txt

./test_bash.sh
./test_bash.sh: line 6: syntax error near unexpected token `list.txt'
./test_bash.sh: line 6: ` done < cat list.txt'
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos

--
Giles Coochey

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux