Giter Club home page Giter Club logo

kwcng's Introduction

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 <[email protected]>

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 [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.