rfc822date — Return the date in a format that conforms to RFC 822.




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
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback