#!/bin/sh # stdin: default config # stdout: modified config # save stdin in variable stdin=$(cat) # Decrease size sed ' s|||; s|||; ' <<< "$stdin"