Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh blocks at file truncation



Hi all,

Like most others I am trying to move from bash to zsh as my default shell.

On zsh, Why does the following block indefinitely?

$ >file.txt

On bash, the above would truncate a file. Also, on bash 'file.txt'
would be created if it does on exist.

After some debugging, I found that the above command blocked at the
invocation of the 'cat' command (as provided by 'ps -c <pid>').

Thanks,
chandan



Messages sorted by: Reverse Date, Date, Thread, Author