User defined pipe and redirection operators: Difference between revisions
User defined pipe and redirection operators (view source)
Revision as of 14:28, 16 September 2011
, 12 years ago→{{header|J}}
m (→{{header|J}}) |
|||
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'
* Adriaan van Wijngaarden - Dutch pioneer; ARRA, ALGOL
</lang>
|