作成 2010.01.05
更新 2011.11.27
更新 2011.11.27
PowerShell で more
PowerShell v1.0 では more ファンクションが正しく動作しないので修正する必要があります。
Function more {
param([string[]]$paths)
if($paths)
{
foreach ($file in $paths)
{
Get-Content $file | more.com
}
}
else
{
$input | more.com
}
}
タグ: PowerShell