2007-07-28から1日間の記事一覧
今日、なんとなくプログラムのソースを何行ぐらい書いているのか気になったので、さくっとワンライナーで書いてみた。 (dir -recurse -include *.cs -exclude *.Designer.cs | % { gc $_| % { $_.Trim() } | ? { $_ -ne "" -and -not $_.StartsWith("//") } …
今日、なんとなくプログラムのソースを何行ぐらい書いているのか気になったので、さくっとワンライナーで書いてみた。 (dir -recurse -include *.cs -exclude *.Designer.cs | % { gc $_| % { $_.Trim() } | ? { $_ -ne "" -and -not $_.StartsWith("//") } …