2007-12-19  Martin Sebor  <sebor@roguewave.com>
2007-12-19  Martin Sebor  <sebor@roguewave.com>

	* bin/duration (func_return_value): Added a global variable to make
	it possible to efficiently return large values (>255) from functions.
	(get): Renamed "local" parameters and used func_return_value to
	return values instead of echo-ing them to stdout so as to avoid
	starting a subshell for each invocation of the function.
	(seconds_from_epoch): Used func_return_value and corrected off-by-1
	error in the computation of the offset. Corrected the Epoch to 1970
	rather than the non-existent year 0.
	Made both script arguments optional and changed script behavior to
	write the offset from the Epoch when one or both arguments are not
	provided.


git-svn-id: 1e8a4076bc3774682289f662a06025447996ff23@605740 13f79535-47bb-0310-9956-ffa450edef68

pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx