help-bash
[Top][All Lists]
Advanced

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

Re: weird interaction between builtin cat and trap


From: Greg Wooledge
Subject: Re: weird interaction between builtin cat and trap
Date: Thu, 14 Apr 2022 18:40:38 -0400

On Thu, Apr 14, 2022 at 05:24:43PM -0500, Dennis Williamson wrote:
> From
> http://git.savannah.gnu.org/cgit/bash.git/tree/examples/loadables/README?h=devel
> :
> 
> cat.c         cat(1) replacement with no options - the way cat was intended.
> 
> 
> Which implies to me that it should not be expected to duplicate coreutils
> cat.

It isn't POSIX compliant, because POSIX requires the -u option.  Any
use of bash's example loadables should be considered "at your own risk"
at this point.  They have not received a great deal of testing or peer
review.  And they clearly don't try to be POSIX conformant either.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]