10 lines
274 B
Bash
Executable File
10 lines
274 B
Bash
Executable File
#!/bin/sh
|
|
# -*- mode: sh; tab-width: 8; coding: utf-8-unix -*-
|
|
# filter
|
|
ROLE=base
|
|
# extra cleanups to bash from yaml_to_bash
|
|
sed -e '/\[/s@, @ @g' \
|
|
-e '/\[/s@\([^"]\)u"@\1"@g' -e "/\[/s@\([^']\)u'@\1'@g" \
|
|
-e 's@="*\[\(.*\)\]@=(\1)@' -e "s@='*\[\(.*\)\]@=(\1)@"
|
|
|