Unix/ls: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: added wording.) |
m (→{{header|REXX}}: moved some comments around, changed wording in the REXX section header.) |
||
Line 1,152: | Line 1,152: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
The following program works under Windows and |
The following program works under Windows and uses the Windows '''DIR''' command to list a bare─bones sorted list. |
||
⚫ | |||
⚫ | |||
⚫ | |||
Notes on the options used for the (Microsoft Windows®) '''DIR''' command: |
Notes on the options used for the (Microsoft Windows®) '''DIR''' command: |
||
::::* '''b''' is for <u>'''b'''</u>are format (no heading information or summary). |
::::* '''b''' is for <u>'''b'''</u>are format (no heading information or summary). |
||
::::* '''o''' is for <u>'''o'''</u>rder, and it orders (sorts) by file <u>'''N'''</u>ame. |
::::* '''o''' is for <u>'''o'''</u>rder, and it orders (sorts alphabetically) by file <u>'''N'''</u>ame. |
||
⚫ | |||
⚫ | |||
⚫ | |||
{{out|output|text=''':'''}} |
|||
<pre> |
|||
1 |
|||
2 |
|||
3 |
|||
4 |
|||
</pre> |
|||
=={{header|Ruby}}== |
=={{header|Ruby}}== |