utfbom-remove

command module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2017 License: MIT Imports: 9 Imported by: 0

README

utfbom-remove

Build Status Build status codecov Go Walker Go Report Card codebeat badge

detect and remove BOM in utf-8 encoding files

feature

  • remove BOM in utf8 encoding files
  • dry-run mode

download and run

https://github.com/alastairruhm/utfbom-remove/releases

download binary according to your system


$ ./utfbom-remove -h

NAME:
   utfbom-remove - detect and remove BOM in utf-8 encoding files

USAGE:
   main [global options] command [command options] [arguments...]

VERSION:
   v1.0.0

AUTHOR:
   alastairruhm <[email protected]>

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --check-only   dry-run mode
   --path value   the path to scan (default: ".")
   --help, -h     show help
   --version, -v  print the version

COPYRIGHT:
   (c) 2017 alastairruhm
macOS and linux
# dry-run mode
$ ./utfbom-remove --path=/path/to/directory --check-only

# repalce with bom free header
$ ./utfbom-remove --path=/path/to/directory
windows
# dry-run mode
$ ./utfbom-remove.exe --path=/path/to/directory --check-only

# repalce with bom free header
$ ./utfbom-remove.exe --path=/path/to/directory

Supported platforms

utfbom-remove is tested against multiple versions of Go on Linux, and against the latest released version of Go on OS X and Windows. For full details, see .travis.yml and appveyor.yml.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL