nhs-number-cli 0.4.0

Command line tool that validates United Kingdom (UK) National Health Service (NHS) Numbers, one per line, from standard input.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 01-basic

The smallest useful example: one valid NHS Number and one invalid
number. Demonstrates that:

* a valid number appears on `stdout` in canonical form;
* an invalid number produces a diagnostic on `stderr`;
* the two streams are kept separate.

## Run

```sh
./run.sh
```

The script pipes `input.txt` through the binary and diffs the observed
output against `expected-stdout.txt` and `expected-stderr.txt`.