Re: Inline Pipeline Filter/lambda
- From: "Keith Hill" <r_keith_hill@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 1 Dec 2005 09:19:45 -0700
"Bruce Payette [MSFT]" <brucepay@xxxxxxxxxxxxx> wrote in message
news:%23geRs9k9FHA.2364@xxxxxxxxxxxxxxxxxxxxxxx
> We've had this suggestion a number of time so it's definitely something
> we'll consider. Now - as an alternative - since we have & { } for invoking
> an in-line function, how about a different 1 character for in-line
> filters? You can try this out using aliases. For example, if you want to
> use %, them do
>
> set-alias % foreach-object
That'll work nicely for now. Thanks. However at some point MSH will be
pervasive enough that I'll be helping someone else and I won't have my
aliases. I also find the "foreach" a bit confusing because I thought the
pipe already provided objects one at a time to the next stage. Have to use
foreach implies that they are all provided at once and I need to iterate
through them. Is that the case?
--
Keith
.
- References:
- MSH: Inline Pipeline Filter/lambda
- From: Keith Hill
- Re: Inline Pipeline Filter/lambda
- From: Bruce Payette [MSFT]
- MSH: Inline Pipeline Filter/lambda
- Prev by Date: Re: Modify User Profile Properties - Help
- Next by Date: Re: Console Window Title
- Previous by thread: Re: Inline Pipeline Filter/lambda
- Next by thread: Re: Inline Pipeline Filter/lambda
- Index(es):
Relevant Pages
|