textproc/sttr 0.2.30_9 FreeBSD
Quickly run various transformations on strings
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
d81b7ba3c3- License
- MIT
- Categories
- textproc
- Package size
- 2547.8 KiB, 8181.9 KiB installed
Description
The sttr command allows you to quickly run various text transformation operations:
- ascii85, base32, base64, base64url, and base85 encode/decode
- HTML encode/decode
- URL encode/decode
- rot13 encode
- generate bcrypt, md5, sha1, sha256, or sha512 checksum
- transform to camel-, kebab-, slug-, snake-, title-case
- transform to lower or upper case
- shuffle, sort, or unique lines
- reverse text character by character or line by line
- remove spaces or new-line characters
- count characters, words, or lines
- convert a #hex color code to RGB
- hex encode/decode
- format text as JSON
- convert between JSON and MSGPACK or YAML text
- convert markdown to HTML
- extract emails, IP numbers, or URLs from text
- pad numbers with zeroes
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/sttr | 0.2.30_9 |
| DragonFly | textproc/sttr | 0.2.25 |
Install
Binary package:
pkg install sttr
From the ports tree:
cd /usr/ports/textproc/sttr/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= sttr>0:textproc/sttr
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.2.30_8 | 0.2.30_8 | - | 0.2.26_1 | 0.2.30_8 |
| FreeBSD:14:quarterly | 0.2.30_8 | 0.2.30_8 | n/a | 0.2.25_1 | 0.2.30_8 |
| FreeBSD:15:latest | 0.2.30_8 | 0.2.30_8 | n/a | 0.2.26_1 | 0.2.27 |
| FreeBSD:15:quarterly | 0.2.30_8 | 0.2.30_8 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.30_7 | 0.2.30_8 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- go:modules
- Service scripts
- none
Files
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| go/textproc_sttr/sttr-v0.2.30/v0.2.30.mod | 2196 | 32a4165def6c305b9a1c461bae481d381261a8d70bccaa209975dfc00926e70c |
| go/textproc_sttr/sttr-v0.2.30/v0.2.30.zip | 1.358334e+06 | 1b22e18e776211243c3b508a9268d8d3152f4db6193418f899d0c0ede95c348f |
Commit history 7
The latest 5 of 7 in the history this site was built from.