# 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 9
# self = https://watcher.sour.is/conv/lzy32ha
@mckinley This is where I am https://ttm.sh/ebD.bin, run it with ./t < twtxt.txt
@adi Impressive, I should learn awk at some point.\nFunnily enough, GNU tail has no -r option: https://www.gnu.org/software/coreutils/manual/html_node/tail-invocation\n> GNU tail can output any amount of data (some other versions of tail cannot). It also has no -r option (print in reverse), since reversing a file is really a different job from printing the end of a file; BSD tail (which is the one with -r) can only reverse files that are at most as large as its buffer, which is typically 32 KiB. A more reliable and versatile way to reverse files is the GNU tac command.
@adi Impressive, I should learn awk at some point.
Funnily enough, GNU tail has no -r option: https://www.gnu.org/software/coreutils/manual/html_node/tail-invocation
> GNU tail can output any amount of data (some other versions of tail cannot). It also has no -r option (print in reverse), since reversing a file is really a different job from printing the end of a file; BSD tail (which is the one with -r) can only reverse files that are at most as large as its buffer, which is typically 32 KiB. A more reliable and versatile way to reverse files is the GNU tac command.
@mckinley Could be better, but this is an awk job. I'm also learning.
@adi @mckinley I'm pretty close to actually generating the pages.
@mckinley Haha @ GNU tail, maybe they're right.
@adi I fully agree with their stance, but it's weird to see an extension present in BSD coreutils but not GNU.
@adi I fully agree with their stance, but it's weird to see an extension present in BSD coreutils but not GNU.
@mckinley \n\n> I should learn awk at some point\n\nI recommend it!