textproc/p5-String-TtyLength 0.03 DragonFly
Calculate length of string excluding ANSI tty codes
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- perl5, textproc
- Package size
- 10.9 KiB, 42.4 KiB installed
Description
String::TtyLength provides a single function, tty_length, which returns the length of a string excluding any ANSI tty / terminal escape codes. I.e. the number of characters that will appear on screen. This is useful if you're working out the width of columns, or aligning text.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | textproc/p5-String-TtyLength | 0.03 |
| FreeBSD | textproc/p5-String-TtyLength | 0.03 |
| HardenedBSD | textproc/p5-String-TtyLength | 0.03 |
| GhostBSD | textproc/p5-String-TtyLength | 0.03 |
Install
Binary package:
pkg install p5-String-TtyLength
From DPorts:
cd /usr/dports/textproc/p5-String-TtyLength && make install clean