diff options
author | lassulus <lass@aidsballs.de> | 2016-05-08 09:09:53 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-05-08 09:09:53 +0200 |
commit | e23b0a76a6f69b948f7a73c50447305ac63eb467 (patch) | |
tree | 8b98698d2934cabab35cdf69da81185dd2d1909d /bin | |
parent | c4eed3f706711027484b0297952c4db894ecef96 (diff) |
checkMissingLink: style
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/checkMissingLink | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/checkMissingLink b/bin/checkMissingLink index f1ea0df..4b53f79 100755 --- a/bin/checkMissingLink +++ b/bin/checkMissingLink @@ -1,15 +1,13 @@ -#!/bin/sh +#!/bin/sh file=$1 id=$(echo "$file" | sed 's/.*\(.\{11\}\)\.ogg/\1/') -#Wattie_Green_-_Dark_eyes-gdlFy3dRVck.ogg - if [ $id = '' ]; then echo 'no id' exit 23 fi -if ! grep -q -- "$id#" links; then +if ! grep -q -- "$id#" links; then echo $file -fi
\ No newline at end of file +fi |