From b2b97e301892d89b9909bed17f4299e09af1e33b Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 20 Jan 2018 11:53:36 -0500 Subject: printf: Add %w and %Wk for file birth times %w and %W were chosen to match the format specifiers for file birth times from stat(1) --- bfs.1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'bfs.1') diff --git a/bfs.1 b/bfs.1 index a6ff153..15a998f 100644 --- a/bfs.1 +++ b/bfs.1 @@ -627,6 +627,22 @@ Actions: .TP .B \-nohidden Filter out hidden files and directories. +.LP +\fB\-printf \fIFORMAT\fR +.br +\fB\-fprintf \fIFORMAT FILE\fR +.RS +These additional format directives are supported: +.TP +%w +The file's birth time, in the same format as %a/%c/%t. +.TP +.RI %W k +Field +.I k +of the file's birth time, in the same format as +.RI %A k /%C k /%T k . +.RE .SH EXAMPLES .TP .B bfs -- cgit v1.2.3