I need to check where is the signal of end-of-file in a file in Unix, and set it not to be sent to the pipe file.
I need this because I need to send a list of files using a cat and when it reaches the eof on the first file, it is sent to the pipe and it gets closed. Thus, the process stops.
Can someone help on this issue?
Thanks in advance.
EDIT code:
mkfifo file.pipe cat file1.txt file2.txt > mkfifo.pipe
after sending the content of file1.txt it sends the EOF and closes the pipe file. Thus file2.txt is not sent.