Re:Linux-flavored Windows
by shadowfox on Tuesday November 26, 2013 @01:06PM
(#6802970)
> Comma-delimited args in commands
Not quite sure what you mean.You don't need to use comma unless you explicitly want an array of values. So for example a rather simplistic cmdlet/function like this,
Function Foo([string] $text, [int] $count) {
#Produce repeated text
$text * $count
}
Not quite sure what you mean.You don't need to use comma unless you explicitly want an array of values. So for example a rather simplistic cmdlet/function like this,
can be called in any of the following ways: And we are not even using features of cmdlets like parameter aliasing.Maybe I understood your concern wrong?