Unix/ls: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: just names) |
(Added XPL0 example.) |
||
Line 1,352: | Line 1,352: | ||
// Note that output is automatically sorted using this method. |
// Note that output is automatically sorted using this method. |
||
Directory.list(path).each { |f| System.print(f) }</lang> |
Directory.list(path).each { |f| System.print(f) }</lang> |
||
=={{header|XPL0}}== |
|||
Works on Raspberry Pi. |
|||
<lang XPL0>string 0; |
|||
char S; |
|||
[S:= "ls"; |
|||
asm { ldr r0, S |
|||
bl system |
|||
} |
|||
]</lang> |
|||
=={{header|zkl}}== |
=={{header|zkl}}== |