Skip to content

cat - Unix Command line tool built for John Crickett's Coding Challenge.

License

Notifications You must be signed in to change notification settings

andrenbrandao/cat-tool

Repository files navigation

cat-tool

cat - Unix Command line tool built for John Crickett's Coding Challenge.

How to build and run

First, make sure you have Bazel installed.

bazel build :ccat
bazel run :ccat -- testdata/test.txt

To read from stdin:

head -n1 testdata/test.txt | ./bazel-bin/ccat -

Printing line numbers:

bazel run :ccat -- -n testdata/test.txt

Running the tests

bazel test --test_output=all :ccat_test

Resources

About

cat - Unix Command line tool built for John Crickett's Coding Challenge.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published