diff --git a/user_scripts/remove-version-match.sh b/user_scripts/remove-version-match.sh deleted file mode 100755 index c6ce03e..0000000 --- a/user_scripts/remove-version-match.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -if [ -z $1 ]; then - echo "Must specify a file to modify..." - exit 1 -fi -regex='^=?(\S+)(?:-[[:digit:]]+\S*)(\s)(\S+)$' -sub='\1\2\3' -perl -pe "s;$regex;$sub;gm" -i "${1}"