From 10dc03b39c0622fa9e599904d56f2edfff70d218 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 2 Feb 2024 11:55:07 +0100 Subject: [PATCH] Minor changes --- .power_unique_subscriber.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .power_unique_subscriber.sh diff --git a/.power_unique_subscriber.sh b/.power_unique_subscriber.sh new file mode 100644 index 0000000..75df79d --- /dev/null +++ b/.power_unique_subscriber.sh @@ -0,0 +1,7 @@ +#!/usr/bin/bash + +wai=$(dirname $(readlink -f "$0")) # Current script directory + +tmp=$(mktemp) +cat $@ | ${wai}/.power_unique.sh > $tmp +mv $tmp $@