ina260-zmq-publisher/.power_unique_subscriber.sh
2024-02-02 11:55:07 +01:00

7 lines
145 B
Bash

#!/usr/bin/bash
wai=$(dirname $(readlink -f "$0")) # Current script directory
tmp=$(mktemp)
cat $@ | ${wai}/.power_unique.sh > $tmp
mv $tmp $@