base_role/overlay/Linux/usr/local/bin/fact_to_yaml.bash
embed@git.macaw.me b50fd16591 first
2024-01-06 01:38:28 +00:00

9 lines
160 B
Bash
Executable File

#!/bin/sh
# -*- mode: sh; fill-column: 75; tab-width: 8; coding: utf-8-unix -*-
ROLE=base
# filter or program
grep '=' "$*" \
| sed -e "s@=@: @" -e "s@^ *@@"