Re: [hackers] [sbase][PATCH] cp: add -i flag

2025-04-17 Thread Roberto E. Vargas Caballero
Hi, On Thu, Apr 17, 2025 at 01:32:55PM +0200, THIBAUT AUBIN wrote: > I respectfully disagree with Roberto Vargas. > NRK suggested approach is consistent with the behavior of GNU coreutils > 8.30. Well, disagree is a good thing, and I would like more constructive discussion in the mailing list, bu

Re: [hackers] [sbase][PATCH] cp: add -i flag

2025-04-17 Thread NRK
A couple facts: 1. POSIX requires a single whole line to be read (as Roberto pointed out already). 2. POSIX doesn't define what "affirmative" response is. GNU Coreutils reads the first char and discards the rest [0]. Busybox skips blanks, then takes a char as answer and discards the rest