This commit is contained in:
bth 2024-01-11 10:52:52 -08:00
commit 5e1b2ac657
26 changed files with 393 additions and 0 deletions

9
bash/last/last.sh Executable file
View file

@ -0,0 +1,9 @@
# Get the last file name of any numbered series of text files.
# file format:
# in regex terms:
# [0-9]+\.[.*\.]*md|txt
# in plain terms:
# [leading numbers with consistent width].[optional string descriptor and . separator][md|txt]
ls | egrep '^\d.*\.md|txt' | tail -n 1

0
bash/last/test/001.md Executable file
View file

0
bash/last/test/002.blah.md Executable file
View file

0
bash/last/test/004.foo.md Executable file
View file

0
bash/last/test/005.md Executable file
View file

0
bash/last/test/009.boo.md Executable file
View file

0
bash/last/test/098.baa.md Executable file
View file

0
bash/last/test/099.poo.md Executable file
View file