seeding the zero width

This commit is contained in:
bth 2024-01-14 13:15:09 -08:00
commit 963449589b
2 changed files with 11 additions and 1 deletions

View file

@ -6,4 +6,6 @@
# in plain terms:
# [leading numbers with consistent width].[optional string descriptor and . separator][md|txt]
# TODO: signal no file found, so that next knows to create one.
# Grep exits 1, but tail exits 0.
ls | egrep '^[[:digit:]].*\.md|txt' | tail -n 1