bar-date.sh 169 B

123456
  1. #!/usr/bin/env bash
  2. set -euo pipefail # bash strict mode
  3. # date="$(date +"%a, %B %d %l:%M:%S %p"| sed 's/ / /g')"
  4. date=$(date +'%A %d-%m-%Y [%H:%M]')
  5. echo -e "${date}"