colldef.1 (73233) | colldef.1 (95124) |
---|---|
1.\" Copyright (c) 1995 Alex Tatmanjants <alex@elvisti.kiev.ua> 2.\" at Electronni Visti IA, Kiev, Ukraine. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\" Copyright (c) 1995 Alex Tatmanjants <alex@elvisti.kiev.ua> 2.\" at Electronni Visti IA, Kiev, Ukraine. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/usr.bin/colldef/colldef.1 73233 2001-02-28 17:38:53Z ru $ | 26.\" $FreeBSD: head/usr.bin/colldef/colldef.1 95124 2002-04-20 12:18:28Z charnier $ |
27.\" 28.Dd January 27, 1995 29.Dt COLLDEF 1 30.Os 31.Sh NAME 32.Nm colldef 33.Nd convert collation sequence source definition 34.Sh SYNOPSIS 35.Nm 36.Op Fl I Ar map_dir 37.Op Fl o Ar out_file 38.Op Ar filename 39.Sh DESCRIPTION | 27.\" 28.Dd January 27, 1995 29.Dt COLLDEF 1 30.Os 31.Sh NAME 32.Nm colldef 33.Nd convert collation sequence source definition 34.Sh SYNOPSIS 35.Nm 36.Op Fl I Ar map_dir 37.Op Fl o Ar out_file 38.Op Ar filename 39.Sh DESCRIPTION |
40.Nm Colldef 41converts a collation sequence source definition | 40The 41.Nm 42utility converts a collation sequence source definition |
42into a format usable by the 43.Fn strxfrm 44and 45.Fn strcoll 46functions. 47It is used to define the many ways in which 48strings can be ordered and collated. 49.Fn strxfrm --- 5 unchanged lines hidden (view full) --- 55.Fn strcmp , 56.Fn strncmp , 57or 58.Fn memcmp . 59.Fn strcoll 60transforms its arguments and does a 61comparison. 62.Pp | 43into a format usable by the 44.Fn strxfrm 45and 46.Fn strcoll 47functions. 48It is used to define the many ways in which 49strings can be ordered and collated. 50.Fn strxfrm --- 5 unchanged lines hidden (view full) --- 56.Fn strcmp , 57.Fn strncmp , 58or 59.Fn memcmp . 60.Fn strcoll 61transforms its arguments and does a 62comparison. 63.Pp |
63.Nm Colldef 64reads the collation sequence source definition | 64The 65.Nm 66utility reads the collation sequence source definition |
65from the standard input and stores the converted definition in filename. 66The output file produced contains the 67database with collating sequence information in a form 68usable by system commands and routines. 69.Pp 70Options list: 71.Bl -tag -width 4n 72.It Fl I Ar map_dir --- 162 unchanged lines hidden (view full) --- 235.El 236.Pp 237The backslash character 238.Ar \e 239is used for continuation. 240In this case, no characters are permitted 241after the backslash character. 242.Sh DIAGNOSTICS | 67from the standard input and stores the converted definition in filename. 68The output file produced contains the 69database with collating sequence information in a form 70usable by system commands and routines. 71.Pp 72Options list: 73.Bl -tag -width 4n 74.It Fl I Ar map_dir --- 162 unchanged lines hidden (view full) --- 237.El 238.Pp 239The backslash character 240.Ar \e 241is used for continuation. 242In this case, no characters are permitted 243after the backslash character. 244.Sh DIAGNOSTICS |
243.Nm Colldef 244exits with the following values: | 245The 246.Nm 247utility exits with the following values: |
245.Bl -tag -width indent 246.It Li 0 247No errors were found and the output was successfully created. 248.It Li !=0 249Errors were found. 250.El 251.Sh FILES 252.Ar /usr/share/locale/<language>/LC_COLLATE 253standard shared location for collation orders 254under the locale locale 255.Sh SEE ALSO 256.Xr mklocale 1 , 257.Xr setlocale 3 , 258.Xr strcoll 3 , 259.Xr strxfrm 3 | 248.Bl -tag -width indent 249.It Li 0 250No errors were found and the output was successfully created. 251.It Li !=0 252Errors were found. 253.El 254.Sh FILES 255.Ar /usr/share/locale/<language>/LC_COLLATE 256standard shared location for collation orders 257under the locale locale 258.Sh SEE ALSO 259.Xr mklocale 1 , 260.Xr setlocale 3 , 261.Xr strcoll 3 , 262.Xr strxfrm 3 |