From 08604409fcfae83afc6a3170249427e66369a5dd Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 5 Mar 2024 05:10:53 -0500 Subject: [PATCH] minor: docs --- pdt.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pdt.sh b/pdt.sh index d8fd978..9ac3107 100644 --- a/pdt.sh +++ b/pdt.sh @@ -231,6 +231,9 @@ toot() { # # sed -r 's,/teof/.*,,;s/ *-(m|a|-dbd) [^ ]*//;s,https?://[^ ]*,https://xxxxxxxxxxxxxxx,g' FILE | awk '$0 !~ /\/tnt\// && length > 280 {print length, $0}' # +# That will print the length of the post as twitter sees it (with 23 +# characters per url). +# # broken usage: # pdt [-v VIDEO_PATH] [POST] # -- 2.25.1