Farm: Tor-3-Duplikat liest die Tischliste auch mit Leerzeichen (-Command uebergibt 1,1,3 als Array)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,7 +35,7 @@ Add-Type -Namespace FarmR -Name Sp -MemberDefinition @'
|
||||
public static double FreiGB() { MS m = new MS(); m.l = (uint)System.Runtime.InteropServices.Marshal.SizeOf(typeof(MS)); GlobalMemoryStatusEx(ref m); return m.zusagefrei / 1073741824.0; }
|
||||
'@
|
||||
$plan = [ordered]@{}; $zaehler = @{}
|
||||
foreach ($m in @($Tischliste -split ',' | % { [int]$_ })) { $i = [int]$zaehler[$m]; $zaehler[$m] = $i + 1; foreach ($a in $arme.Keys) { $plan["$a-m$m-s$i"] = @($a, $m, $i) } }
|
||||
foreach ($m in @($Tischliste -split '[,\s]+' | ? { $_ } | % { [int]$_ })) { $i = [int]$zaehler[$m]; $zaehler[$m] = $i + 1; foreach ($a in $arme.Keys) { $plan["$a-m$m-s$i"] = @($a, $m, $i) } }
|
||||
$laeufe = @{}
|
||||
function Starte([string]$t) {
|
||||
$a, $m, $i = $plan[$t]; $aus = "$o\$t.jsonl"
|
||||
|
||||
Reference in New Issue
Block a user