bug#70801: Weird behaviour when standard input is closed

2024-05-06 Thread Pádraig Brady
On 06/05/2024 08:38, Bernard Burette wrote: Hi, If I try: $ cat <&- cat: -: Bad file descriptor cat: closing standard input: Bad file descriptor $ The error on stdin beign closed is displayed twice plus "-" is for a FILE argument to replace standard input, It would make more sense to m

bug#70801: Weird behaviour when standard input is closed

2024-05-06 Thread Bernard Burette
Hi, If I try: $ cat <&- cat: -: Bad file descriptor cat: closing standard input: Bad file descriptor $ The error on stdin beign closed is displayed twice plus "-" is for a FILE argument to replace standard input, It would make more sense to me to have someting like: $ cat <&- cat: sta