A
PS > ${function:more}
param([string[]]$paths)
$OutputEncoding = [System.Console]::OutputEncoding
if($paths) {
foreach ($file in $paths)
{
Get-Content $file | more.com
}
} else { $input | more.com }
Почему автор запилил три разные переноса
{скобок.
Size: a a a
A
PS > ${function:more}
param([string[]]$paths)
$OutputEncoding = [System.Console]::OutputEncoding
if($paths) {
foreach ($file in $paths)
{
Get-Content $file | more.com
}
} else { $input | more.com }
{скобок.
VS
VG
VS
VG
VG
A
VG
VG
VG
VG
VS
VG
VG
VG
VS
VG
VG
VG