[CentOS] Off Topic bash question

Thu Jul 23 14:44:13 UTC 2020
Giles Coochey <giles at coochey.net>

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 at centos.org
> https://lists.centos.org/mailman/listinfo/centos

-- 
Giles Coochey