Browse Source

bin/fragment-entry-poem: tidy, use character classes

main
Brennen Bearnes 6 months ago
parent
commit
ebdd8d0804
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      home/bin/fragment-entry-poem

+ 2
- 3
home/bin/fragment-entry-poem View File

@ -1,5 +1,4 @@
#!/bin/sh
datestamp=$(fragment-today | tr A-Z a-z)
gallerydir=$(date --rfc-3339=date)
printf "<h1>%s</h1>\n\n<freeverse>\n\n</freeverse>" "$datestamp"
datestamp=$(fragment-today | tr '[:upper:]' '[:lower:]')
printf '<h1>%s</h1>\n\n<freeverse>\n\n</freeverse>' "$datestamp"

Loading…
Cancel
Save