printf.1 (212374) | printf.1 (215520) |
---|---|
1.\" Copyright (c) 1989, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the Institute of Electrical and Electronics Engineers, Inc. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 19 unchanged lines hidden (view full) --- 28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" SUCH DAMAGE. 34.\" 35.\" @(#)printf.1 8.1 (Berkeley) 6/6/93 | 1.\" Copyright (c) 1989, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the Institute of Electrical and Electronics Engineers, Inc. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 19 unchanged lines hidden (view full) --- 28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" SUCH DAMAGE. 34.\" 35.\" @(#)printf.1 8.1 (Berkeley) 6/6/93 |
36.\" $FreeBSD: head/usr.bin/printf/printf.1 212374 2010-09-09 19:27:40Z obrien $ | 36.\" $FreeBSD: head/usr.bin/printf/printf.1 215520 2010-11-19 12:56:13Z jilles $ |
37.\" | 37.\" |
38.Dd September 5, 2010 | 38.Dd November 19, 2010 |
39.Dt PRINTF 1 40.Os 41.Sh NAME 42.Nm printf 43.Nd formatted output 44.Sh SYNOPSIS 45.Nm 46.Ar format Op Ar arguments ... --- 254 unchanged lines hidden (view full) --- 301.Pp 302The decimal point 303character is defined in the program's locale (category 304.Dv LC_NUMERIC ) . 305.Pp 306In no case does a non-existent or small field width cause truncation of 307a field; padding takes place only if the specified field width exceeds 308the actual width. | 39.Dt PRINTF 1 40.Os 41.Sh NAME 42.Nm printf 43.Nd formatted output 44.Sh SYNOPSIS 45.Nm 46.Ar format Op Ar arguments ... --- 254 unchanged lines hidden (view full) --- 301.Pp 302The decimal point 303character is defined in the program's locale (category 304.Dv LC_NUMERIC ) . 305.Pp 306In no case does a non-existent or small field width cause truncation of 307a field; padding takes place only if the specified field width exceeds 308the actual width. |
309.Pp 310Some shells may provide a builtin 311.Nm 312command which is similar or identical to this utility. 313Consult the 314.Xr builtin 1 315manual page. |
|
309.Sh EXIT STATUS 310.Ex -std 311.Sh COMPATIBILITY 312The traditional 313.Bx 314behavior of converting arguments of numeric formats not beginning 315with a digit to the 316.Tn ASCII 317code of the first character is not supported. 318.Sh SEE ALSO | 316.Sh EXIT STATUS 317.Ex -std 318.Sh COMPATIBILITY 319The traditional 320.Bx 321behavior of converting arguments of numeric formats not beginning 322with a digit to the 323.Tn ASCII 324code of the first character is not supported. 325.Sh SEE ALSO |
326.Xr builtin 1 , |
|
319.Xr echo 1 , | 327.Xr echo 1 , |
328.Xr sh 1 , |
|
320.Xr printf 3 321.Sh STANDARDS 322The 323.Nm 324command is expected to be compatible with the 325.St -p1003.2 326specification. 327.Sh HISTORY --- 37 unchanged lines hidden --- | 329.Xr printf 3 330.Sh STANDARDS 331The 332.Nm 333command is expected to be compatible with the 334.St -p1003.2 335specification. 336.Sh HISTORY --- 37 unchanged lines hidden --- |