Unix/ls: Difference between revisions
Content deleted Content added
m →{{header|REXX}}: added wording. |
m →{{header|REXX}}: moved some comments around, changed wording in the REXX section header. |
||
Line 1,152:
=={{header|REXX}}==
The following program works under Windows and
<lang rexx>/*REXX program lists contents of current folder (ala mode UNIX's LS). */▼
'DIR /b /oN' /*use Windows DIR: sorts & lists.*/▼
/*stick a fork in it, we're done.*/</lang>▼
Notes on the options used for the (Microsoft Windows®) '''DIR''' command:
::::* '''b''' is for <u>'''b'''</u>are format (no heading information or summary).
::::* '''o''' is for <u>'''o'''</u>rder, and it orders (sorts alphabetically) by file <u>'''N'''</u>ame.
▲<lang rexx>/*REXX program lists contents of current folder (ala mode UNIX's LS). */
▲ /*stick a fork in it, we're done.*/</lang>
{{out|output|text=''':'''}}
<pre>
1
2
3
4
</pre>
=={{header|Ruby}}==
|