Simple Sand Samples |
説明のないとってもシンプルなサンプルプログラム集
COBOL | awk | C言語 | D言語 | GO言語 | Lua | Vim |
bash | Perl | Gauche | Clojure | CLISP | EmacsLisp | VimScript |
tcsh | Ruby | Groovy | Java | C# | VBScript | JavaScript |
Io言語 | Python | Erlang | Scala | VB.NET | Excel/VBA | PHP |
Tcl | Haskell | OCaml | PowerShell | Windows | Unix/Linux |
tcsh > 基準日からの連続した日付を得る
date-seq.tcsh
|
|
~> tcsh date-seq.tcsh
2013-01-11 Friday
2013-01-12 Saturday
2013-01-13 Sunday
2013-01-14 Monday
2013-01-15 Tuesday
2013-01-16 Wednesday
2013-01-17 Thursday
2013-01-18 Friday
2013-01-19 Saturday
2013-01-20 Sunday
~>
2013-01-11 Friday
2013-01-12 Saturday
2013-01-13 Sunday
2013-01-14 Monday
2013-01-15 Tuesday
2013-01-16 Wednesday
2013-01-17 Thursday
2013-01-18 Friday
2013-01-19 Saturday
2013-01-20 Sunday
~>
* 確認環境 Debian Linux(Jessie)