Just testing my listento script and the yarnc cli
Just testing my listento script and the yarnc cli
Just testing my listento script and the yarnc cli
h
#!/bin/sh
if [ $# -ne 2 ]; then
printf "Usage: %s <title> <url>\n" "$(basename "$0")"
exit 1
fi
title="$1"
url="$2"
yarnc post << EOF
πΆ Listening to πΆ
[$title]($url)
EOF
cc @deebs
h
#!/bin/sh
if [ $# -ne 2 ]; then
printf "Usage: %s <title> <url>\n" "$(basename "$0")"
exit 1
fi
title="$1"
url="$2"
yarnc post << EOF
πΆ Listening to πΆ
[$title]($url)
EOF
cc @deebs
#!sh\n#!/bin/sh\n\nif [ $# -ne 2 ]; then\n printf "Usage: %s <title> <url>\\n" "$(basename "$0")"\n exit 1\nfi\n\ntitle="$1"\nurl="$2"\n\nyarnc post << EOF\nπΆ Listening to πΆ\n\n[$title]($url)\nEOF\n
\n\ncc @deebs
$#
for number of arguments, never seen that before. That's POSIX shell? Fancy stuff.
$#
for number of arguments, never seen that before. That's POSIX shell? Fancy stuff.
I find the HTML version easy enough to reference. I use it a lot because it has all the man pages for the POSIX utilities. It's even available to download for offline viewing.
iframe
based HTML pages don't work well with touchscreens. You can avoid the iframe madness by going to mindex.html or idx/fidx2.html relative to the base directory.
iframe
based HTML pages don't work well with touchscreens. You can avoid the iframe madness by going to mindex.html or idx/fidx2.html relative to the base directory.