Shell one-liner: Difference between revisions
Content deleted Content added
Added FutureBasic example |
|||
Line 233: | Line 233: | ||
0 20 40 60 80 100 |
0 20 40 60 80 100 |
||
</pre> |
|||
=={{header|FutureBasic}}== |
|||
This is forcing the issue. FB has much more elegant ways of interacting with the Unix Shell. |
|||
<lang futurebasic> |
|||
include "ConsoleWindow":dim a$:open "Unix", 1, "cal":do:line input #1,a$:print a$:until eof(1):close 1:RunApplicationEventLoop() |
|||
</lang> |
|||
Output |
|||
<pre> |
|||
August 2016 |
|||
Su Mo Tu We Th Fr Sa |
|||
1 2 3 4 5 6 |
|||
7 8 9 10 11 12 13 |
|||
14 15 16 17 18 19 20 |
|||
21 22 23 24 25 26 27 |
|||
28 29 30 31 |
|||
</pre> |
</pre> |
||