GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  BOMSTRIP-FILES (1)

NAME

bomstrip, bomstrip-files - strip the BOM sequence from UTF-8 files

CONTENTS

Synopsis
Description
Examples
See Also
History
Authors

SYNOPSIS

bomstrip bomstrip-files

DESCRIPTION

The bomstrip utility reads UTF-8 data from its standard input and copies it to its standard output, stripping the BOM (byte-order mark) from the beginning of the text if it is present. There are no command-line options and no parameters.

The bomstrip-files utility removes the UTF-8 BOM from the specified files, saving each file’s original contents with a .bom extension. It uses the bomstrip utility, trying to execute it as "bomstrip"; if the bomstrip utility is installed under another name, or if a more complex command is desired, it may be supplied in the BOMSTRIP environment variable.

EXAMPLES

Strip the BOM, if present, from a text file:

    bomstrip < bom.txt > nobom.txt

Strip the BOM, if present, from all text files, backing them up with a .bom extension:

    bomstrip-files *.txt

Use the OCAML implementation of bomstrip:

    env BOMSTRIP=’ocaml bomstrip.ocaml’ bomstrip-files *.txt

SEE ALSO

The bomstrip home page: http://www.xs4all.nl/~mechiel/projects/bomstrip/

HISTORY

The bomstrip utility (in many languages) was written by
.An Mechiel Lukkien , with implementations in various languages sent to him by others, including
.An Andreas Gohr ,
.An Andrew Gerrand ,
.An Berteun Damman ,
.An Matthijs Bomhoff ,
.An Peter Pentchev , and
.An Ruben Smelik . The bomstrip-files utility and this manual page were written by
.An Peter Pentchev in the hope that they reflect the behavior of all the bomstrip implementations in all languages.

AUTHORS


.An Mechiel Lukkien <mechiel@xs4all.nl>
.An Peter Pentchev <roam@ringlet.net>
Search for    or go to Top of page |  Section 1 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.