Skip to main content

Remove a now-unused script

ID
c80ac6e
date
2025-04-18 11:23:30+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
e36b4ce
message
Remove a now-unused script
changed files
2 files, 1 addition, 22 deletions

Changed files

text/README.md (8575) → text/README.md (8105)

diff --git a/text/README.md b/text/README.md
index f304df0..9f3ace5 100644
--- a/text/README.md
+++ b/text/README.md
@@ -45,12 +45,6 @@ scripts = [
         """,
     },
     {
-        "usage": "fromtimestamp [TIMESTAMP]",
-        "description": """
-        convert a Unix timestamp to a human-readable date.  Alias for <code>date -r [TIMESTAMP]</code>.
-        """,
-    },
-    {
         "usage": "longlines [PATH]",
         "description": "print the line numbers of the longest lines in the file."
     },
@@ -160,15 +154,6 @@ cog_helpers.create_description_table(folder_name=folder_name, scripts=scripts)
   </dd>
 
   <dt>
-    <a href="https://github.com/alexwlchan/scripts/blob/main/text/fromtimestamp">
-      <code>fromtimestamp [TIMESTAMP]</code>
-    </a>
-  </dt>
-  <dd>
-    convert a Unix timestamp to a human-readable date.  Alias for <code>date -r [TIMESTAMP]</code>.
-  </dd>
-
-  <dt>
     <a href="https://github.com/alexwlchan/scripts/blob/main/text/longlines">
       <code>longlines [PATH]</code>
     </a>
@@ -280,4 +265,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: 06f29ab9e718017036fe699b5efafd00) -->
\ No newline at end of file
+<!-- [[[end]]] (checksum: 08eaa47db846418b5ceaa263cd20e662) -->
\ No newline at end of file

text/fromtimestamp (65) → text/fromtimestamp (0)

diff --git a/text/fromtimestamp b/text/fromtimestamp
deleted file mode 100755
index b77cf84..0000000
--- a/text/fromtimestamp
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/env bash
-
-set -o errexit
-set -o nounset
-
-date -r "$@"