command
module
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: May 11, 2024
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.