allow to run scripts from any folder

This commit is contained in:
Morgan Wattiez
2018-09-03 09:47:54 +02:00
parent 2303019af2
commit 743a2656af
4 changed files with 12 additions and 4 deletions

View File

@ -1 +1,3 @@
cat README.md | cut -d'(' -f2 | cut -d')' -f1 | egrep "^http*" | sort -u | wc -l
#/usr/bin/env bash
BASEDIR=$(dirname "$0")
cat "$BASEDIR/README.md" | cut -d'(' -f2 | cut -d')' -f1 | egrep "^http*" | sort -u | wc -l