0.0
No commit activity in last 3 years
No release in over 3 years
Reads text data from the input stream. Upon completion of the input, displays the largest integers.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 12.3.3
= 3.5.0
 Project Readme

nmax Gem Version Build Status

Ruby gem, reads text data from the input stream, upon completion of the input, displays the n largest integers, met in the received text data.

usage

Script runs from console with command:

cat <filename> | nmax <limit_count>

Where

  • filename - name of file with text data;
  • limit_count - limit count of founded biggest numbers

test

rake test

install

  • gem install nmax-aoirgf

Note: You may need to use sudo to install gems, but it is preferable to do without it.

license

Copyright (C) 2020 Sergio Belevskij

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.