BSD Ports

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

SystemPortVersion
FreeBSDtextproc/sttr0.2.30_9
DragonFlytextproc/sttr0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.30_80.2.30_8-0.2.26_10.2.30_8
FreeBSD:14:quarterly0.2.30_80.2.30_8n/a0.2.25_10.2.30_8
FreeBSD:15:latest0.2.30_80.2.30_8n/a0.2.26_10.2.27
FreeBSD:15:quarterly0.2.30_80.2.30_8n/an/an/a
FreeBSD:16:latest0.2.30_70.2.30_8n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
go/textproc_sttr/sttr-v0.2.30/v0.2.30.mod219632a4165def6c305b9a1c461bae481d381261a8d70bccaa209975dfc00926e70c
go/textproc_sttr/sttr-v0.2.30/v0.2.30.zip1.358334e+061b22e18e776211243c3b508a9268d8d3152f4db6193418f899d0c0ede95c348f

Commit history 7

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
2cb2680d95 Dag-Erling Smørgrav various: Drop Go 1.24 version pin
This is a nop since 1.25 is the oldest supported version. I thought I'd removed these already...
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1
4867821cd6 Dag-Erling Smørgrav various: Bump go ports for go-1.25.14 / 1.26.7

The latest 5 of 7 in the history this site was built from.