Question about date

2006-08-05 Thread Lum
Hi, I see you can use b to get an abbreviated month such as Aug but how do I get it in upper case (AUG)? On Solaris is there a utility to get yesterday's date in formats 060805 and 20060805? I will be using it in a shell script. Thank you very much. Sincerely, Marg

Re: Question about date

2006-08-05 Thread Philip Rowlands
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