Uh, could you please tell us why you are looking for a shell-less way to
generate a specific output format from ls? ls is designed mostly for human
use and parsing its output is usually a bad idea.

Try using something like `find d -depth 1` instead. Also try tree(1).

Regards,
Mingye.

Reply via email to