Posted By

kitzelh on 10/16/09


Tagged

date Shell


Versions (?)

Last workday/weekday of the month


 / Published in: Bash
 

  1. cal | awk '{print $2,$3,$4,$5,$6}' | tr -s '[:blank:]' '\n' | tail -1

Report this snippet  

You need to login to post a comment.