diff options
1 files changed, 1 insertions, 2 deletions
| -rwxr-xr-x | csg | 3 |
@@ -70,8 +70,7 @@ transform-file() { local scripts="$2" # Markdown stats for a file: title, description, words, date created, date edited - local title="$(grep -m 1 '^# ' "$file")" - local title="${title:2}" + local title="$(awk '/^# / {print substr($0, 2); exit}' "$file")" local descr="$(awk ' /^[[:alpha:]]/ { startedGathering = 1 |
