diff options
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 |