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 $
37.\"
38.Dd September 5, 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.
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
319.Xr echo 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 ---
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 $
37.\"
38.Dd September 5, 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.
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
319.Xr echo 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 ---