aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_script_description
blob: 740b1c40ed58d74f41f3f37ac1e6ceaaa4895297 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

source $AK_LIBDIR/_ak_newline

description(){
  full_title="$(printf '%s - %s' "$PROGRAM" "$descriptionString")"
  delimiter_count=`echo -n $full_title | wc -c`
  printf '%s' "$full_title"
  new_line
  while [ $delimiter_count -gt 0 ]
  do
    printf '='
    delimiter_count=$(($delimiter_count-1))
  done
  new_line
}