]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix fstab order in `column` manpage example.
authorRom <rom@4kbyte.org>
Sat, 11 May 2024 18:41:39 +0000 (11:41 -0700)
committerRom <rom@4kbyte.org>
Sat, 11 May 2024 18:41:39 +0000 (11:41 -0700)
fstab is:

1. fs_spec
2. fs_file
3. fs_vfstype
4. fs_mntops
5. fs_freq
6. fs_passno

In other words it's:

    SOURCE,TARGET,TYPE,OPTIONS,FREQ,PASS

text-utils/column.1.adoc

index 17f6eb039fcc226dec2dce4cfbe3736d95b602ff..c16743597b9e71604001fd681b753e95fb30aba9 100644 (file)
@@ -211,7 +211,7 @@ Historical versions of this tool indicated that "rows are filled before columns"
 Print fstab with header line and align number to the right:
 
 ....
-sed 's/#.*//' /etc/fstab | column --table --table-columns SOURCE,TARGET,TYPE,OPTIONS,PASS,FREQ --table-right PASS,FREQ
+sed 's/#.*//' /etc/fstab | column --table --table-columns SOURCE,TARGET,TYPE,OPTIONS,FREQ,PASS --table-right FREQ,PASS
 ....
 
 Print fstab and hide unnamed columns: