Name
rfc822date — Return the date in a format that conforms to RFC 822.
Description
This command simply returns the current date in RFC 822 format. The reason a wrapper is needed is that while the version of GNU date on Solaris 8 (as of Winter 2010) supports a --rfc-822 option, the output it produces does not actually conform to RFC 822. So, this command tries somewhat blindly to pick a server it hopes will have a proper implementation, and isolates any problems to a single point of failure.
Topic revision: r1 - 2016-01-11
- YiLee