On 10/26/2015 09:20 PM, toocute tobeforreal wrote:
> I remember reading about micropolis being released for Linux. I had it on
> another distro but I haven't been able to find it since I upgraded to
> Fedora22. I would like it added to dnf. Thanks.
You've reached the GNU coreutils list, which ma
2015-10-26 11:40:54 +, Pádraig Brady:
[...]
> Summary is you can do this with GNU sed:
>
> ( echo 99 ; seq 10 ) | ( sed -u 1q ; sort -n )
[...]
Or POSIXly:
awk 'NR <= 3 {print; next}; {print | "sort -n"}'
Or:
(IFS= read -r line && printf '%s\n' "$line"; sort -n)
On systems that still have
On 26/10/15 04:31, Annihilannic wrote:
> Hi,
>
> I find that I frequently need to sort the tabular output of a command
> that includes heading lines, so often that I've written my own wrapper
> 'sorthead '. In other words, preserve the position of
> the specified number of lines of input data
Hi,
I find that I frequently need to sort the tabular output of a command
that includes heading lines, so often that I've written my own wrapper
'sorthead '. In other words, preserve the position of
the specified number of lines of input data.
I think this would be a generally useful featu