mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 08:05:38 +00:00
16 lines
259 B
Plaintext
16 lines
259 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
URL=$1
|
||
|
TITLE=$2
|
||
|
DESCRIPTION=$3
|
||
|
FEED=$4
|
||
|
|
||
|
printf "\n\n## [%s](%s)\n%s\nFrom %s: added on [%s](%s.md).\n\n---\n" \
|
||
|
"$TITLE" \
|
||
|
"$URL" \
|
||
|
"$DESCRIPTION" \
|
||
|
"$FEED" \
|
||
|
"$TODAY_NOTE" \
|
||
|
"$TODAY_NOTE" \
|
||
|
>>"$NOTES_PATH/bookmarks.md"
|