bin/63608: Add a -c option to time(1) to display csh output

John Baldwin jhb at FreeBSD.org
Mon Mar 1 11:50:15 PST 2004


>Number:         63608
>Category:       bin
>Synopsis:       Add a -c option to time(1) to display csh output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 01 11:50:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     John Baldwin
>Release:        
>Organization:
FreeBSD Project
>Environment:
>Description:
Time(1)'s default output is inferior to the output from csh's time builtin command (less precision, etc.)  It would be nice to have a -c switch to time(1) that outputs the default csh format.  If one is feeling extra adventurous, one could also add a -f option that takes a format string similar to the csh time variable to use for formatting the output.
>How-To-Repeat:
Compare '/usr/bin/time echo foo' and 'tcsh -c time echo foo'.
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list