stripaccents

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 10 Imported by: 0

README

stripaccents

A small tool to remove accents from a string or a file written in go.

Usage

> stripaccents -h
Usage: stripaccents [options]
  -i string
        input file (incompatible with -s)
  -o string
        output file
  -s string
        string to process (incompatible with -i)

Examples:
        stripaccents -s "Café"
        stripaccents "Café"
        stripaccents -i in.txt -o out.txt
        stripaccents in.txt
        stripaccents -i in.txt > out.txt
        cat in.txt | stripaccents > out.txt

Installation

From binary

Download the binary from the releases page.

From source
> go install github.com/kpym/stripaccents@latest

License

MIT

Documentation

Overview

strip accents is a small utility to remove accents from a string or a file. Usage:

	stripaccents -s "Café" => "Cafe"
	stripaccents "Café" => "Cafe"
	stripaccents -i in.txt -o out.txt
	stripaccents in.txt
	stripaccents -i in.txt > out.txt
 	cat in.txt | stripaccents > out.txt

Jump to

Keyboard shortcuts

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