tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cp -i might violate POSIX



In gmane.os.netbsd.devel.userlevel Timo Buhrmester <fstd.lkml%gmail.com@localhost> wrote:

> The -i in cp -i is ignored if standard input isn't a tty.
> 
> This breaks doing something along the lines of ``yes n | cp -i [...]''
[...]
> At the bottom of this mail is a patch that drops the ``isatty()''.

Thanks for bringing this up, I've committed it to NetBSD.

-uwe



Home | Main Index | Thread Index | Old Index