minor: docs master
authorIan Kelling <iank@fsf.org>
Tue, 5 Mar 2024 10:10:53 +0000 (05:10 -0500)
committerIan Kelling <iank@fsf.org>
Tue, 5 Mar 2024 10:10:53 +0000 (05:10 -0500)
pdt.sh

diff --git a/pdt.sh b/pdt.sh
index d8fd978f733d4dbd32d73b4c75201fed2a795d75..9ac3107c44d137fbb4cabd32cd73ff62dddba53e 100644 (file)
--- 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]
 #