Files
kustomize/plugin/someteam.example.com/v1/sedtransformer/SedTransformer

11 lines
128 B
Bash
Executable File

#!/bin/bash
# Skip the config file name argument.
shift
args=()
for arg in "$@"; do
args+=(-e "$arg")
done
sed "${args[@]}"