Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
function Find-UnimplementedTask
|
||||
{
|
||||
[CmdletBinding()]
|
||||
[OutputType([string[]])]
|
||||
Param
|
||||
(
|
||||
[Parameter(Mandatory=$true,
|
||||
Position=0)]
|
||||
[string]
|
||||
$Language
|
||||
)
|
||||
|
||||
$url = "http://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_$Language"
|
||||
$web = Invoke-WebRequest $url
|
||||
$unimplemented = 1
|
||||
|
||||
[string[]](($web.AllElements |
|
||||
Where-Object {$_.class -eq "mw-content-ltr"})[$unimplemented].outerText -split "`r`n" |
|
||||
Select-String -Pattern "[^0-9A-Z]$" -CaseSensitive)
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
$tasks = Find-UnimplementedTask -Language PowerShell
|
||||
|
||||
$tasks[0..5],".`n.`n.",$tasks[-6..-1]
|
||||
Write-Host "`nTotal unimplemented Tasks: $($tasks.Count)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue