I know that in bash, the &
symbol delegates a command to the background, but is it also supposed to double as a special line terminator?
To give an example of what I'm referring to, I found this line in http://tldp.org/LDP/abs/html/ioredirintro.html
while read a; do echo "FIFO1: $a"; done < /tmp/fifo1 & exec 7> /tmp/fifo1
is the above equivalent to..?
while read a; do echo "FIFO1: $a"; done < /tmp/fifo1 &
exec 7> /tmp/fifo1
Or is there special significance to these two parts being in the same line?
&
section! – joelliusp Jun 23 '18 at 20:41