Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators angle brackets should be escaped automatically Post 5109 by Optimus_P on Tuesday 7th of August 2001 05:03:25 PM
Old 08-07-2001
I agree.

the only time html is really used on this site is when people post links. and well heck as long as your put the whole link in the body we can cut and copy the link.
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Angle brackets

From the Apache thread in the Adanced forum: Thats because your browser interprets anything within angle brackets to be an HTML tag. You need to quote these brackets if you want them to appear correctly. The proper quotes are: &amp;lt; for < and &amp;gt; for > So, for example, you would have... (1 Reply)
Discussion started by: PxT
1 Replies

2. HP-UX

Multicore from a different angle

Everyone seemed to be a little stumped by the multicore question I asked earlier this week, so I decided I'd try a different angle. Turns out that on a multicore system HP-UX reports every core as a seperate processor. All the usual commands (ioscan, top, etc.) report two processors for every... (7 Replies)
Discussion started by: Midcain
7 Replies

3. Linux

By angle-brackets/"pipe" button doesn't work?

How can I configure it? I have a swedish keyboard with swedish keyboard setting. Everything works perfectly (едц) except that button. What can be wrong? /Richard ++ NOTE: It seems like the computer notices the input but that the button isn't assigned to anything (the keyboard-cursor stops).... (1 Reply)
Discussion started by: riwa
1 Replies

4. Shell Programming and Scripting

Echo escaped \c in SH Shell Any Idea

Hi All, I have got an echo statement with "\c" in it to avoid getting into a newline. Ths script is using #!\bin\sh Any idea what could make it to escape "\c" (4 Replies)
Discussion started by: asami
4 Replies

5. Shell Programming and Scripting

Editing long records with characters that need to be escaped.

Hi all, I'm new in unix scripting and I've a problem with a script... :confused: I need to read a file, add some fields in the records, and write them in another file, but even when I simply read and write the records, the shell interprets some caracters and the result is that the records... (5 Replies)
Discussion started by: Macs_Linux
5 Replies

6. Solaris

Reason why some commands need escaped-characters and other not

Hi, this is my first post and hope to make some contribution soon. I'm still learning the basics of UNIX and Linux and BASH. Thus my need to understand the subject at hand. I don't have a problem with technical detail, so hit me :) I have a script where two commands use the contents of a... (2 Replies)
Discussion started by: doublefrangelic
2 Replies

7. Shell Programming and Scripting

Delete text between square brackets and also delete those square brackets using sed or awk

Hi All, I have a text file which looks like this: computer programming systems engineering I want to get rid of these square brackets and also the text that is inside these brackets. So that my final text file looks like this: computer programming systems engineering I am using... (3 Replies)
Discussion started by: shoaibjameel123
3 Replies

8. Shell Programming and Scripting

Regex:search/replace but not for escaped character

Hi Input: - -- --- ---- aa-bb-cc aa--bb--cc aa---bb---cc aa----bb----cc Output: . - -. -- aa.bb.cc (7 Replies)
Discussion started by: chitech
7 Replies

9. UNIX for Dummies Questions & Answers

Using read with escaped variables

Not sure if this is possible, but I'm trying to read in a variable that needs to have its escape backslashes intact. So the person who enters the actual value does not have to type any \ characters. Example: read list X1000\ filecab.txt echo "$list" In this case the \ needs to be... (3 Replies)
Discussion started by: newbie2010
3 Replies
charmap(4)						     Kernel Interfaces Manual							charmap(4)

NAME
charmap - symbolic translation file for localedef scripts SYNOPSIS
charmap DESCRIPTION
Invoking the command with the option causes symbolic names in the locale description file to be translated into the encodings given in the charmap file (see localedef(1M)). As a recommendation, a locale description file should be written completely with symbolic names. The charmap file has three sections: a declarations section, a character definition section, and an optional width specification section. Declarations Section Declarations can precede the character definitions. Each consists of the symbol (including the surrounding angle brackets), followed by one or more blanks (or tabs or space characters), fol- lowed by the value of the symbol. Certain declarations are required for multibyte character codesets. For single-byte codesets, all are optional. Following is a list of possible declarations: value Used to declare the name of the coded character set for which the charmap file is defined. This keyword is required for multibyte character codesets. For HP15 encoding scheme, needs to be part of the name. For EUC encoding scheme, needs to be part of the name. value Used to declare the cswidth parameter of the coded character set for which the charmap file is defined (see eucset(1)). value Used to declare the maximum number of bytes in a multibyte character. Defaults to 1 if not given. For multibyte character code- sets, this keyword must be specified. value Used to declare the minimum number of bytes in a character for the encoded character set. The value must be less than or equal to If not given, the default is equal to value Used to declare the escape character, which is used to escape characters that otherwise would have special meaning. If not given, the default is backslash value Used to declare the comment character, which is used to begin comments and should be placed in column one of the charmap file. If not given, the default is the character. Character Definition Section The character-set mapping definitions immediately follow an identifier line containing the string and precede a trailer line consisting of the string (Empty lines and lines beginning with the comment character are ignored.) The character definitions are of two forms. The first form defines a single character and its encoding: encoding A symbolic_name is one or more visible characters from the portable character set as specified by XPG, enclosed in angle brackets. Metacharacters such as angle brackets, escape characters, or comment characters must be escaped if they are used in the name. Two or more symbolic names can be given for the same encoding. The encoding is a character constant in one of four forms: decimal An escape character followed by the letter followed by one to three decimal digits. octal An escape character followed by one to three octal digits. hexadecimal An escape character followed by an followed by two hexadecimal digits. Unicode An escape character followed by a followed by four or five hexadecimal digits. This encoding form can only be used when the option of the command is specified. Multibyte characters are represented by the concatenation of character constants. All constants used in the encoding of a multibyte char- acter must be of the same form. The second form defines a range of characters consisting of all characters from the first symbolic name to the second, inclusive: ... encoding The symbolic name must consist of one or more nonnumeric characters followed by an integer formed of one or more decimal digits. The inte- ger part of the second symbolic name must be larger than that of the first. The range is then interpreted as a list of symbolic names con- sisting of the same character portion and successive integer values from the first through the last. These names are assigned successive encodings starting with the one given. For example, the character definition line is equivalent to: Width Specification The following declarations can follow the character set mapping definitions (after the statement). Each consists of one of the keywords shown in the following list, starting in column 1, followed by the value(s) associated with the keyword, as defined below. A positive integer value (either 1 or 2) defining the column width for the printable character in the coded character set mapping definitions. Coded character set character values are defined using symbolic character names followed by column width values. Defining a character with more than one produces undefined results. The keyword is used to terminate the definitions. Specifying the width of a non-printable char- acter in a declaration produces undefined results. Ellipses (...) can be used between two symbolic character names to specify a range of characters. A positive integer value defining the default column width for any printable character not listed by one of the keywords. If no keyword is included in the charmap, the default charac- ter width is 1. EXAMPLES
For examples, see any of the files under the directory. After the statement, a syntax for a width definition would be: WIDTH <A> 1 <B> 1 <C>...<Z> 1 ... <wc1>...<wcn> 2 END WIDTH In this example, the numerical code point values represented by the symbols <A> and <B> are assigned a width of 1. The code point values <C> to <Z> inclusive, that is, <C>, <D>, <E>, and so on, are also assigned a width of 1. Using <A>...<Z> would have required fewer lines, but the alternative was shown to demonstrate flexibility. The keyword could have been added as appropriate. SEE ALSO
eucset(1), localedef(1M), localedef(4). STANDARDS CONFORMANCE
charmap(4)
All times are GMT -4. The time now is 05:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy