Move ‘recog’ into the ‘text’ folder
- ID
79551f5- date
2024-01-03 11:22:44+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
18cf3b0- message
Move 'recog' into the 'text' folder- changed files
2 files, 17 additions, 2 deletions
Changed files
text/README.md (6816) → text/README.md (7303)
diff --git a/text/README.md b/text/README.md
index 409fe0f..0ff1035 100644
--- a/text/README.md
+++ b/text/README.md
@@ -67,6 +67,12 @@ scripts = [
"description": "prints randomly selected lines from the given text. If `NUMBER` is unspecified, it prints a single line.",
},
{
+ "usage": "recog",
+ "description": """
+ Find all the README files under the current folder, and process them using <a href="https://nedbatchelder.com/code/cog">Cog</a>.
+ """
+ },
+ {
"usage": "reverse < [PATH]",
"description": "prints the lines of text, but in reverse order.",
},
@@ -183,6 +189,15 @@ cog_helpers.create_description_table(folder_name=folder_name, scripts=scripts)
</dd>
<dt>
+ <a href="https://github.com/alexwlchan/scripts/blob/main/text/recog">
+ <code>recog</code>
+ </a>
+ </dt>
+ <dd>
+ Find all the README files under the current folder, and process them using <a href="https://nedbatchelder.com/code/cog">Cog</a>.
+ </dd>
+
+ <dt>
<a href="https://github.com/alexwlchan/scripts/blob/main/text/reverse">
<code>reverse < [PATH]</code>
</a>
@@ -222,4 +237,4 @@ cog_helpers.create_description_table(folder_name=folder_name, scripts=scripts)
"codepoints. This is a Docker wrapper around <a href="https://github.com/lunasorcery/utf8info">a tool of the same name</a> by @lunasorcery.
</dd>
</dl>
-<!-- [[[end]]] (checksum: 1d5a76eaf2e7b0159fc349d7a4198453) -->
\ No newline at end of file
+<!-- [[[end]]] (checksum: bc564280bcf97df83fad1af796670312) -->
\ No newline at end of file
recog (334) → text/recog (335)
diff --git a/recog b/text/recog
similarity index 90%
rename from recog
rename to text/recog
index 65096e0..55cde7f 100755
--- a/recog
+++ b/text/recog
@@ -3,7 +3,7 @@
#
# This creates the per-README list of the individual scripts and files.
#
-#Here Cog is Ned Batchelder's file generation tool, described here:
+# Here Cog is Ned Batchelder's file generation tool, described here:
# https://nedbatchelder.com/code/cog
set -o errexit