Greet

greet

Print a time-appropriate greeting (morning, afternoon, or evening). Uses the current hour from date, or the value of the $DayGreet variable if set.

Exit codes

  • 0: Always

Output on stdout

  • "Good morning!", "Good afternoon!", or "Good evening!"