String of text conversion
I'm writing a centralized logging piece, and I need to grep out logs that have specific date tags. The date command returns abbreviated months (Sep), via "#date -d yesterday '+%b'" but I need it all caps. ie SEP vice Sep. Otherwise the grep doesn't catch it. Any ideas?
edit...going to use "grep -i" in the meantime until a better solution comes along
Last edited by jeewiz; 09-24-2009 at 10:10 AM.
|