Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Piping to a function

Oct
29
0
Is it possible to pipe to a function like @word? Seems like it should be easy but my brain isn't seeing the process for some reason.

Thanks
 
Something like this might suffice.

Code:
v:\> echo one two three | (do x in @con (echo %@word[1,%x]))
two

Unix's "cut" or any version of cut.exe (Gnu, for example) could also be used.[/code]
 
Back
Top