Added date functions

This commit is contained in:
labbots
2020-06-07 20:10:07 +01:00
parent 242afc59f0
commit 8b56d1572f
5 changed files with 1669 additions and 2 deletions

895
README.md

File diff suppressed because it is too large Load Diff

View File

@@ -5,3 +5,4 @@ source src/string.sh
source src/variable.sh
source src/file.sh
source src/misc.sh
source src/date.sh

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
#https://github.com/bkrem/make-toc.sh/blob/master/make-toc.sh
#https://gitlab.com/pedrolab/doctoc.sh/-/blob/master/doctoc.sh
_usage() {
printf "
Script to autogenerate markdown based on bash source code.\n

769
src/date.sh Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -25,7 +25,7 @@ file::make_temp_file() {
}
# @description Get only the filename from string path.
#
# @example
# echo "$(file::name "/path/to/test.md")"
# #Output
@@ -43,7 +43,7 @@ file::name() {
}
# @description Get the basename of file from file name.
#
# @example
# echo "$(file::basename "/path/to/test.md")"
# #Output