[Bug 48] New: enh: pretty-print /etc/fstab when writing it out at installation-time
bugzilla-daemon <[email protected]>
| Newsgroups | gmane.linux.arklinux.bugs |
|---|---|
| Message-ID | <[email protected]> |
https://bugzilla.arklinux.org/bugzilla/show_bug.cgi?id=48
Summary: enh: pretty-print /etc/fstab when writing it out at
installation-time
Product: Ark Linux
Version: Dockyard
Platform: pentium3 (PC, Intel)
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Overall Usability
Component: Installer
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Description of Problem: one minor thing Red Hat does that's cool is that they
format /etc/fstab so most all the columns aligned (unless one field is
particularly long). This can be accomplished by piping the
constructed /etc/fstab through the following awk script:
awk '{
printf("%-23s %-24s %-7s %-15s %s %s\n", $1, $2, $3, $4, $5, $6);
}'
.. just a suggestion, but the resulting /etc/fstab looks "cleaner" and is
easier for the (normal) eye to parse.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.