summaryrefslogtreecommitdiffstats
path: root/bin/no-heirloom.sh
blob: 55e9f2993311f3432b2e6af2f0a686368461c822 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -eu

empty=true

input="$(cat)"
if [ -n "$input" ]; then
    empty=false
fi

if ! $empty; then
    echo "$input"
    cat "$1"
fi

© 2014-2024 Faster IT GmbH | imprint | privacy policy