I'm working with the date command in Linux and I'm curious about the format specifier "%b". It outputs the abbreviated month name, which is great. However, I couldn't find a clear explanation for why "b" was chosen for this purpose.
In contrast, "%Y" for full year and "%d" for day seem intuitive. Is there a specific reason behind using "b" for abbreviated month, or is it simply a historical convention?
I'd appreciate any insights into the origin or rationale behind this format specifier, Thank you everyone.
%mand%Mwere taken.date +%mis already taken for numerical month &date +%Mfor minutes,%bis taken for "brief month" and%Bfor montha/Awent for day, and then the next wasb/Bfor month). You can even see it in the order inman date- locale day, locale month, locale full date in that order.