Skip to content

v1.1.0 - Single-file Refactor

Choose a tag to compare

@GaryDean GaryDean released this 31 Dec 00:26
· 16 commits to main since this release

What's New

This release refactors mdheaders into a self-contained single-file script for simpler installation and distribution.

Changes

  • Single-file architecture: Merged library into main script — no external dependencies
  • Pure Bash: Replaced seq with native Bash parameter expansion
  • BCS compliance: 100% Bash Coding Standard compliance
  • Performance: Moved local declarations outside loops

Installation

Quick install:

sudo curl -fsSL https://raw.githubusercontent.com/Open-Technology-Foundation/mdheaders/main/mdheaders -o /usr/local/bin/mdheaders && sudo chmod +x /usr/local/bin/mdheaders

From source:

git clone https://github.com/Open-Technology-Foundation/mdheaders.git
sudo cp mdheaders/mdheaders /usr/local/bin/

Testing

  • 26/26 tests passing
  • ShellCheck: 0 warnings