Re: [hackers] [sbase][PATCH] cp: add -i flag
On Sun, Apr 20, 2025 at 01:25:33AM +0200, THIBAUT AUBIN wrote:
> Thank you Quentin for raising the POSIX issue.
>
> I corrected the code to address this, the behavior is now:
> ^[yY] -> affirmative
> ^[^yY] -> negative
> e.g: cp -i: If the response from the standard input is affirmative, the
> copy shall be attempted; otherwise, it shall not.
Applied with a minor modification to include stdarg.h in util.h
because the xvprintf declaration requires it. Thanks!
Regards,
Roberto Vargas
Received on Sun Apr 20 2025 - 09:23:47 CEST
This archive was generated by hypermail 2.3.0
: Sun Apr 20 2025 - 09:24:41 CEST