seeding the zero width
This commit is contained in:
parent
28efcf81fc
commit
963449589b
2 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue