| Summary: | Busybox does not support "ls -Q" which is required by Debian init.d scripts | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Andre Klapper <a9016009> |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| URL: | https://bugs.maemo.org/show_bug.cgi?id=3957 | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: |
Patch to implement -Q and -g
adjust column width for multi-column ls -Q output |
||
|
Description
Andre Klapper
2009-01-15 11:19:32 UTC
Created attachment 87 [details]
Patch to implement -Q and -g
Fixed in revision 25505, thanks! Created attachment 1345 [details]
adjust column width for multi-column ls -Q output
A minor (I assume most consumers of ls -Q would be running it in single-column mode) issue is that in multi-column mode the column width isn't adjusted to include the quotes. The attached patch is against 1.16.0.
I don't see why it is needed. Without patch it already looks correct: # ./busybox ls AUTHORS busybox_ldscript libbb Config.in busybox_ldscript_nobss libpwdgrp ... busybox init util-linux # ./busybox ls -Q "AUTHORS" "busybox_ldscript" "libbb" "Config.in" "busybox_ldscript_nobss" "libpwdgrp" ... With -Q, columns become 2 chars wider. Right? |