Jump to content

User defined pipe and redirection operators: Difference between revisions

m
Line 58:
That said, note also that J's sort (<code>/:~</code>) and uniq (<code>~.</code>) operations would work just fine on this kind of data. For example:
 
<lang j> ;'aa' grep 'ALGOL' grep data,data
* Adriaan van Wijngaarden - Dutch pioneer; ARRA, ALGOL
* Adriaan van Wijngaarden - Dutch pioneer; ARRA, ALGOL
 
;'aa' grep ~. 'ALGOL' ~. grep data,data
* Adriaan van Wijngaarden - Dutch pioneer; ARRA, ALGOL
</lang>
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.