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.