I am having a log file where I need to grep based on yesterday date. How to get the yesterday date.The time stamp in the log file is formatted as:Wed Sep 23 for two digitWed Dec  1 for one digitNote that I'm on HP/UX where date is not GNU date.
How to get yesterday date and stored into one variable
shell;date;hp ux