From 85ef0c76775ec400794cb0daeb97b4d38118a6c2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 20 Feb 2021 08:01:33 -0300 Subject: Feat: adds urlmd --- urlinfo | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'urlinfo') diff --git a/urlinfo b/urlinfo index cde32fa..2d6a287 100755 --- a/urlinfo +++ b/urlinfo @@ -34,6 +34,10 @@ else fi # Display -echo "- title: \"$DESC\"" -echo " identifier:" -echo " - $IDENTIFIER" +if [ "$BASENAME" == "urlinfo" ]; then + echo "- title: \"$DESC\"" + echo " identifier:" + echo " - $IDENTIFIER" +elif [ "$BASENAME" == "urlmd" ]; then + echo "[$TITLE]($URL)" +fi -- cgit v1.2.3