diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-01-19 20:33:36 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-01-19 20:33:36 +0100 |
commit | a36bc6ec6b887feaae1072eef279c58bb5dcff0c (patch) | |
tree | 562528b57aca25580574d613ec6821dec2bdb01b /md2saait/getdate | |
parent | 679b29ec04a08c1ca43bfea6d0f5ac0ae10a72dc (diff) | |
download | low-puszcza-a36bc6ec6b887feaae1072eef279c58bb5dcff0c.tar.gz low-puszcza-a36bc6ec6b887feaae1072eef279c58bb5dcff0c.zip |
Add upstream
Diffstat (limited to 'md2saait/getdate')
-rwxr-xr-x | md2saait/getdate | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/md2saait/getdate b/md2saait/getdate index 280d5cc..76ab2a6 100755 --- a/md2saait/getdate +++ b/md2saait/getdate @@ -1,4 +1,5 @@ #!/bin/sh -frontmatter2cfg $1 | grep created | \ - cut -d' ' -f 3 | cut -c 2- | rev | cut -c 2- | rev +cfg=`./md2saait/frontmatter2cfg $1 | grep created` +date=`echo $cfg | cut -d' ' -f 3` +echo $date |