Subject: Re: bug#34488: Add sort --limit, or document workarounds for sort|head error messages

From: Assaf Gordon <[email-masked]>
Date: Sun, 17 Feb 2019 09:28:14 -0700

On 2019-02-16 4:56 p.m., Bernhard Voelker wrote:
> On 2/15/19 10:40 PM, Assaf Gordon wrote:
>>> $ seq 9999 | env --default-signal PIPE sort -n | sed 5q | wc -l

>>   src/env.c                        | 90 +++++++++++++++++++++++++++++++++++++++-
> 
> That's quite a lot of new code.
> 
> What about a new program ... quick shot (and maybe an unlucky name): 'trap' ?
> 

I don't mind either way (env feature or new program).

"trap" will get mixed-up with the shell's built-in command.
How about "untrap" (because the goal is to undo the 'trap' command),
and also there's no "untrap" executable name in debian, so no name 
conflicts?

will send an updated patch later today.

-assaf