contrib/editmergeps.ps1
changeset 32601 4daf5c18055a
parent 32384 a438f5a3bc09
child 32602 04e18be6e188
equal deleted inserted replaced
32600:4b9b87930cb3 32601:4daf5c18055a
    54     else
    54     else
    55     {
    55     {
    56         $linearg = "+$firstline"
    56         $linearg = "+$firstline"
    57     }
    57     }
    58 
    58 
    59     Start-Process -Wait $ed $linearg,$file
    59     Start-Process -Wait -NoNewWindow $ed $linearg,$file
    60     $previousline = $firstline
    60     $previousline = $firstline
    61     $lines = Get-Lines
    61     $lines = Get-Lines
    62     $firstline = if ($lines.Length -gt 0) { $lines[0] } else { $nil }
    62     $firstline = if ($lines.Length -gt 0) { $lines[0] } else { $nil }
    63     Write-Output "firstline is: $firstline, previousline is: $previousline"
    63     Write-Output "firstline is: $firstline, previousline is: $previousline"
    64   }
    64   }