From: Trag Date <101431599+tragdate@users.noreply.github.com> Date: Wed, 23 Aug 2023 01:44:27 +0000 (+0300) Subject: last(1): Document -T option for tab-separated output X-Git-Tag: v2.40-rc1~268^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f04a30616374e7b68f6079bd3d9ae08f2d9b01b;p=thirdparty%2Futil-linux.git last(1): Document -T option for tab-separated output This commit updates the last(1) man page to include the new -T option, which allows for tab-separated output. This addition to the documentation ensures users are aware of this new functionality and can utilize it to enhance their awk parsing. Signed-off-by: Cristian Zmole --- diff --git a/login-utils/last.1.adoc b/login-utils/last.1.adoc index 1d26ae1be3..a3b8afe039 100644 --- a/login-utils/last.1.adoc +++ b/login-utils/last.1.adoc @@ -75,6 +75,9 @@ Display the state of logins since the specified _time_. This is useful, e.g., to *-t*, *--until* _time_:: Display the state of logins until the specified _time_. +*-T*, *--tab-separated*:: +Use ASCII *tab* characters to separate the columns in the output instead of spaces. + *--time-format* _format_:: Define the output timestamp _format_ to be one of _notime_, _short_, _full_, or _iso_. The _notime_ variant will not print any timestamps at all, _short_ is the default, and _full_ is the same as the *--fulltimes* option. The _iso_ variant will display the timestamp in ISO-8601 format. The ISO format contains timezone information, making it preferable when printouts are investigated outside of the system.