From e89ab364556c2cca82ca4e0b0dc353c4ad4fad1d Mon Sep 17 00:00:00 2001 From: Jonathan Neidel Date: Fri, 1 Oct 2021 10:39:16 +0200 Subject: [PATCH] Add script for checking for deprecation --- check-for-deprecation.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 check-for-deprecation.sh diff --git a/check-for-deprecation.sh b/check-for-deprecation.sh new file mode 100755 index 0000000..e9ff4b5 --- /dev/null +++ b/check-for-deprecation.sh @@ -0,0 +1,21 @@ +#! /bin/sh + +OUT_FILE=deprecated.txt + +if [ "$1" = "--help" ] || [ "$1" = "-h" ] || [ "$1" = "help" ]; then + cat <>deprecated.txt >(cat /dev/stdin); else echo CHECKED $i | cat /dev/stdin; fi) & +done