shifty91 / kwcng

Wordcount utility written in C++ using STL threads.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KWCNG

About

kwcng is a wordcount utility written in C++ using STL threads.

Usage

usage: kwcng [options] [files]
  --chars, -c:       count characters
  --chunk_size, -t:  thread workload size
  --help, -h:        print this help text
  --lines, -l:       count lines
  --max_threads, -m: maximum number of threads to be used
  --parseable, -p:   parseable output for use in scripts
  --version, -v:     print version information
  --words, -w:       count words
By default all options are enabled. If no file is specified, stdin is used
kwcng version 1.1 (C) Kurt Kanzenbach <kurt@kmk-computers.de>

Build

Linux

$ git submodule init
$ git submodule update
$ mkdir build
$ cd build
$ cmake ..
$ make -j8
$ sudo make install

FreeBSD

$ git submodule init
$ git submodule update
$ mkdir build
$ cd build
$ make -j8
$ sudo make install

Dependencies

  • Modern Compiler with CPP 17 Support (e.g. gcc >= 7 or clang >= 5)

License

BSD 2-clause

Author

(C) 2018 Kurt Kanzenbach kurt@kmk-computers.de

About

Wordcount utility written in C++ using STL threads.

License:BSD 2-Clause "Simplified" License


Languages

Language:C++ 93.4%Language:CMake 5.9%Language:Emacs Lisp 0.6%