Andrey A. MINEEV wrote:
Как в bash узнать, сколько дней в месяце?
date -d "4/1 next month yesterday" +%d date -d "Apr next month yesterday" +%d --