|
From: | Assaf Gordon |
Subject: | bug#34488: Add sort --limit, or document workarounds for sort|head error messages |
Date: | Sun, 17 Feb 2019 09:28:14 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |