mc12d

Results 2 comments of mc12d

@vanodevium @miladrahimi Added [some tests to pass the coverage](https://github.com/golobby/config/commit/7441424a2f8286d3bbaf0c8bdef961f26f8af42f), if interested in merging this PR

@Kirbo Thanks for sharing! Saved me from learning sed/awk again..