Thanks for taking the time to reply.
The problem is not with the empty file. The script does create an emty file based on date/time, etc. Once the 0 byte file is created on the disk, the next step is to put something into the new file, hence "cat > new_file". The something that we...
I'm troubleshooting a script written years ago by another developer. Roughly the script does the following:
Create an empty file
cat > new_file
Process new_file that now has something in it
The script has been working fine with one exception. If the stdin is empty, the script hangs at...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.