A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
4
Task/Input-loop/J/input-loop-1.j
Normal file
4
Task/Input-loop/J/input-loop-1.j
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/Applications/j602/bin/jconsole
|
||||
NB. read input until EOF
|
||||
((1!:1) 3)(1!:2) 4
|
||||
exit ''
|
||||
10
Task/Input-loop/J/input-loop-2.j
Normal file
10
Task/Input-loop/J/input-loop-2.j
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
$ ./read-input-to-eof.ijs <<EOF
|
||||
> abc
|
||||
> def
|
||||
> ghi
|
||||
> now is the time for all good men ...
|
||||
> EOF
|
||||
abc
|
||||
def
|
||||
ghi
|
||||
now is the time for all good men ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue