Re: Help with at Bash script

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



On 2014-12-03, Hal Wigoda <hal.wigoda@xxxxxxxxx> wrote:
> You have to do 
>      cat domain 
> in back tiks 
>
> instead of read domain.    

This is an error you can't blame on your device.  domain is not a file,
but a bash variable.  read takes stdin (which is what the OP's snippet
is doing) and populates the named variable(s) (domain in this case).

--keith


-- 
kkeller@xxxxxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://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