blob: 77188db7e7adcee978ca68e1f9707880b6092c49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Undeclared Purpose Text Filtering System (uptfs)
This program takes some text, slices it to a number of tokens and applies filters to them.
uptfs will be considered complete as soon as all these statements are true:
* it can read text either from stdin or from a plain text file (DONE)
* it can output text either to stdout or to a file (DONE)
* it can be configured either fully with command line options or with a YAML file (or with a mix of both) (DONE)
* it has the following configuration options (both in CLI and file modes):
* -c, --config-file - path to the config file (DONE)
* -i, --input-file - path to the input file (DONE)
* -o, --output-file - path to the output file (DONE)
* -f, --filter - name of a filter to apply (can be used multiple times) (DONE)
* it prioritizes command line options over those in the config file (DONE)
* it contains at least 7 different predefined filters (DONE)
* it has 'normal' and 'verbose' modes, the latter meaning presence of debug logs while the program is running (DONE)
Doing more doesn't really make sense since this is a learning project.
Today, on 12/4/2024, this project reached it's final form. It might look like a hot
mess and need a lot of refactoring and/or optimization, but it's done and I'm glad.
|