On Sat, 5 Aug 2006, Lum wrote:

I see you can use b to get an abbreviated month such as Aug but how do I get
it in upper case (AUG)?

Not directly, but you could pipe the output through something like:
$ date +%b | tr '[:lower:]' '[:upper:]'
AUG

On Solaris is there a utility to get yesterday's date in formats 060805 and
20060805?

With coreutils date this works - I don't have a Solaris system to test on, but I'd assume it's similar:

$ date +%Y%m%d
20060806
$ date +%y%m%d
060806


Cheers,
Phil


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to