mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 91cf6a10bbb4b184b361c109db5850e20f0a4768
parent 53d4dfbc4fee5fb105b75b7fad976d89ec0d7b44
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Mon,  8 Jan 2024 23:30:59 +0100

superseded

Diffstat:
wikilink | 18------------------
1 file changed, 0 insertions(+), 18 deletions(-)

diff --git a/wikilink b/wikilink @@ -1,18 +0,0 @@ -#!/bin/bash - -CURRENT="$1" -NAME="$2" -NORM=$(echo "$NAME" | tr "A-Z" "a-z" | tr ' ' '_' | tr -dc '_a-z0-9-') -FILE_CURRENT="$HOME/todo/wiki/$CURRENT" -FOLDER=$(cat "$FILE_CURRENT" | grep "^Folder:" |cut -d: -f2 | sed 's/ *//') - -echo "[$NORM]" -cat <<EOF > $HOME/todo/wiki/$NORM -# $NAME - -#todo - -Up: [$CURRENT] - -Folder: $FOLDER -EOF