Skip to content

Instantly share code, notes, and snippets.

@kazuph
Created December 29, 2013 00:59
Show Gist options
  • Save kazuph/8166222 to your computer and use it in GitHub Desktop.
Save kazuph/8166222 to your computer and use it in GitHub Desktop.
ターミナルのコマンドを使って今月の平日の日付だけ取得したい ref: http://qiita.com/kazuph/items/a30e52114af177a54983
$ cal | awk -v ORS=' ' 'NR>=3{print $2, $3, $4, $5, $6}'
2 3 4 5 6 9 10 11 12 13 16 17 18 19 20 23 24 25 26 27 30 31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment