User defined pipe and redirection operators: Difference between revisions
Content added Content deleted
m (→{{header|J}}) |
|||
Line 41: | Line 41: | ||
Step 0: get the data. The task does not specify how to get the data, so here I use lynx, which is readily available on most unix-like systems, including cygwin. Note that lynx needs to be in the OS PATH when running j. |
Step 0: get the data. The task does not specify how to get the data, so here I use lynx, which is readily available on most unix-like systems, including cygwin. Note that lynx needs to be in the OS PATH when running j. |
||
<lang j>require 'task' |
|||
data=:<;._2 shell 'lynx -dump -nolist -width=999 http://en.wikipedia.org/wiki/List_of_computer_scientists'</lang> |
|||
Step 1: define task core algorithms: |
Step 1: define task core algorithms: |