# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 21
# self = https://watcher.sour.is/conv/45duata
🎢 Listening to 🎢

Just testing my listento script and the yarnc cli
🎢 Listening to 🎢

Just testing my listento script and the yarnc cli
Posted with:

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
Posted with:

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
Posted with:\n\n
#!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
@prologic @deebs $# for number of arguments, never seen that before. That's POSIX shell? Fancy stuff.
@prologic @deebs $# for number of arguments, never seen that before. That's POSIX shell? Fancy stuff.
@deebs @mckinley That indeed is POSIX shell mate 😁
@deebs @mckinley That indeed is POSIX shell mate 😁
I just found it in the spec. I'll have to remember that.
I just found it in the spec. I'll have to remember that.
@mckinley πŸ˜† I actually wish someone would write up a more modern version of the POSIX spec. Like I dunno a nice Markdown doc. I find the spec as it is now or existed then hard to read πŸ˜‚
@mckinley πŸ˜† I actually wish someone would write up a more modern version of the POSIX spec. Like I dunno a nice Markdown doc. I find the spec as it is now or existed then hard to read πŸ˜‚
The image is completely unreadable, here's the link to that section: https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/utilities/V3_chap02.html#tag_18_05_02\n\nI 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.
The image is completely unreadable, here's the link to that section: https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/utilities/V3_chap02.html#tag_18_05_02

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.
@mckinley Thanks for the link πŸ‘Œ Yeah it’s a bit dry and doesn’t display well on mobile πŸ˜†
@mckinley Thanks for the link πŸ‘Œ Yeah it’s a bit dry and doesn’t display well on mobile πŸ˜†
@prologic Oh, definitely not on mobile. 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.
@prologic Oh, definitely not on mobile. 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.
@mckinley πŸ‘
@mckinley πŸ‘