aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-02-04 22:02:09 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-02-04 22:23:21 -0500
commite6bb137aa20133589079d1378ecef8f7f1e9a84f (patch)
tree3b662ec202d3032b13ac85142532519e79929da7 /readme.md
parentcdda89a3c76fef80f29951389df88ed23d052d52 (diff)
downloadpm-e6bb137aa20133589079d1378ecef8f7f1e9a84f.tar.gz
pm-e6bb137aa20133589079d1378ecef8f7f1e9a84f.tar.xz
Switch formatting from AWK to a C program.
Due mostly to poor performance, calling out to the shell for time formatting quickly degrades in performance with a large list, this solves that problem. Yes, `gawk` has strftime, no, I don't want to use gawk.
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index 6597f97..1ffbda7 100644
--- a/readme.md
+++ b/readme.md
@@ -8,8 +8,8 @@ This is *NOT* for passwords. Do *NOT* use it for them. See my own
[`dpw`](https://git.riedstra.dev/mitch/dpw/about/) or
[pass](https://www.passwordstore.org/) for a solution there.
-Date formatting is a bit of a pain, so there's a `strftime` command line utility
-that's bundled, yes `gawk` provides `strftime` but that's not on every system.
+Output is controlled via a small c program called `pm-fmtdb`, see the top
+of the file for adjusting the format.
Works best with `dmenu` fuzzy finder patch. Utilizes list mode by default.
@@ -53,8 +53,8 @@ leave it set to clipboard, the default.
Edit the source code for further tweaks. The one people may have the most
-interest in is the format sent to `dmenu`, that's controlled via the `awk` script
-in the `awkPrettyPrint` variable near the top.
+interest in is the format sent to `dmenu`, that's controlled via the small c
+program 'pm-fmtdb' near the top of the file.
## Bugs