Sponsored Content
Full Discussion: What are <84>, <82>?
Top Forums UNIX for Beginners Questions & Answers What are <84>, <82>? Post 303003883 by Don Cragun on Friday 22nd of September 2017 06:05:41 AM
Old 09-22-2017
The <hex_digits> (in blue if you're using a color terminal is the hexadecimal value of a byte that is not part of a valid character in your current locale.

You can translate the hex value(s) to octal using printf. And then you can use tr to delete those characters. For example, if vi shows you <82>, <84>, and <fe>; you could use:
Code:
printf '\\%03o\n' 0x82 0x84 0xfe

which would give you:
Code:
\202
\204
\376

and then you could use:
Code:
LC_ALL=C tr -d '\202\204\376' < input_file > output_file

to remove all occurrences of those three byte values from input_file with the updated contents stored in the file output_file.
 
Pango::AttrList(3pm)					User Contributed Perl Documentation				      Pango::AttrList(3pm)

NAME
Pango::AttrList - holds attributes that apply to a section of text DESCRIPTION
Pango::AttrList is a collection of Pango::Attributes. These attributes annotate text with styles. HIERARCHY
Glib::Boxed +----Pango::AttrList METHODS
attrlist = Pango::AttrList->new $list->change ($attr) o $attr (Pango::Attribute) attrlist or undef = $list->filter ($func, $data=undef) o $func (scalar) o $data (scalar) Since: pango 1.2 $list->insert ($attr) o $attr (Pango::Attribute) $list->insert_before ($attr) o $attr (Pango::Attribute) attriterator = $list->get_iterator ($attr_list, $text, $accel_char) = Pango->parse_markup ($markup_text, $accel_marker) o $markup_text (string) o $accel_marker (character) Parses marked-up text to create a plaintext string and an attribute list. If $accel_marker is supplied and nonzero, the given character will mark the character following it as an accelerator. For example, the accel marker might be an ampersand or underscore. All characters marked as an acclerator will receive a PANGO_UNDERLINE_LOW attribute, and the first character so marked will be returned in $accel_char. Two $accel_marker characters following each other reduce to a single literal $accel_marker character. May croak with a Glib::Error in $@ on failure. $list->splice ($other, $pos, $len) o $other (Pango::AttrList) o $pos (integer) o $len (integer) SEE ALSO
Pango, Glib::Boxed COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Pango for a full notice. perl v5.14.2 2011-11-15 Pango::AttrList(3pm)
All times are GMT -4. The time now is 08:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy