I am trying to write from a C program to a named pipe, and read from that pipe in a bash script. I am using two terminals, running the c program first, then running the bash