EnglishFrenchSpanish

Ad


OnWorks favicon

hxunent - Online in the Cloud

Run hxunent in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hxunent that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


hxunent - replace HTML predefined character entities by UTF-8

SYNOPSIS


hxunent [ -b ] [ -f ] [ file ]

DESCRIPTION


The hxunent command reads the file (or standard input) and copies it to standard output
with &-entities by their equivalent character (encoded as UTF-8). E.g., " is replaced
by " and &lt; is replaced by <.

OPTIONS


The following options are supported:

-b The five builtin entities of XML (&lt; &gt; &quot; &apos; &amp;) are not
replaced but copied unchanged. This is necessary if the output has to be valid
XML or SGML.

-f This option changes how unknown entities or lone ampersands are handled.
Normally they are copied unchanged, but this option tries to "fix" them by
replacing ampersands by &amp;. Often such stray ampersands are the result of
copy and paste of URLs into a document and then this option indeed fixes them
and makes the document valid.

DIAGNOSTICS


The program's exit value is 0 if all went well, otherwise:

1 The input couldn't be read (file not found, file not readable...)

2 Wrong command line arguments.

Use hxunent online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad