https://github.com/kpym/stripaccents
A small tool to remove accents from a string or a file.
https://github.com/kpym/stripaccents
accents diacritics go golang remove-diacritics
Last synced: 3 months ago
JSON representation
A small tool to remove accents from a string or a file.
- Host: GitHub
- URL: https://github.com/kpym/stripaccents
- Owner: kpym
- License: mit
- Created: 2024-05-08T08:12:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-11T09:12:55.000Z (about 1 year ago)
- Last Synced: 2024-05-11T10:26:29.669Z (about 1 year ago)
- Topics: accents, diacritics, go, golang, remove-diacritics
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stripaccents
A small tool to remove accents from a string or a file.
## Usage
```shell
> 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](https://github.com/kpym/stripaccents/releases) page.
### From source
```shell
> go install github.com/kpym/stripaccents@latest
```## License
[MIT](LICENSE)