Skip to content

soulofmischief/format-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

format-text (ft)

A wrapper around tput which provides a sane, compact way to format shell text.

Prerequisites

  • tput (part of the ncurses package, installed on most distributions)

Usage:

ft [OPTION] INPUT

Examples:

ft -b 'This text will be bold.'

ft -u "$(ft -b 'This text will be bold and underlined.')"

echo $(ft -B 'This is blinking') and $(ft -i 'this is invisible')

Options:

-b:  Bold
-B:  Blink
-h:  Help
-i:  Invisible
-r:  Reverse
-s:  Standout mode
-u:  Underline

About

Format text for shell output

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages