]>
git.ipfire.org Git - thirdparty/bash.git/blob - lib/glob/collsyms.h
1 /* collsyms.h -- collating symbol names and their corresponding characters
2 (in ascii) as given by POSIX.2 in table 2.8. */
4 /* Copyright (C) 1997 Free Software Foundation, Inc.
6 This file is part of GNU Bash, the Bourne Again SHell.
8 Bash is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation; either version 2, or (at your option) any later
13 Bash is distributed in the hope that it will be useful, but WITHOUT ANY
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 You should have received a copy of the GNU General Public License along
19 with Bash; see the file COPYING. If not, write to the Free Software
20 Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
23 # define _COLLSYSMS_H_
25 /* The upper-case letters, lower-case letters, and digits are omitted from
26 this table. The digits are not included in the table in the POSIX.2
27 spec. The upper and lower case letters are translated by the code
28 in fnmatch.c:collsym(). */
30 typedef struct _collsym
{
35 static COLLSYM posix_collsyms
[] =
54 "carriage-return", '\r',
74 "exclamation-mark", '!',
75 "quotation-mark", '"',
81 "left-parenthesis", '(',
82 "right-parenthesis", ')',
87 "minus", '-', /* extension from POSIX.2 */
88 "dash", '-', /* extension from POSIX.2 */
91 "solidus", '/', /* extension from POSIX.2 */
104 "less-than-sign", '<',
106 "greater-than-sign", '>',
107 "question-mark", '?',
108 "commercial-at", '@',
109 /* upper-case letters omitted */
110 "left-square-bracket",'[',
112 "reverse-solidus", '\\',
113 "right-square-bracket", ']',
115 "circumflex-accent", '^', /* extension from POSIX.2 */
118 /* lower-case letters omitted */
119 "left-brace", '{', /* extension from POSIX.2 */
120 "left-curly-bracket", '{',
121 "vertical-line", '|',
122 "right-brace", '}', /* extension from POSIX.2 */
123 "right-curly-bracket", '}',