mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 17:15:36 +00:00
16 lines
259 B
Bash
Executable File
16 lines
259 B
Bash
Executable File
#!/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"
|