P5-text-format+nwrap

Jul 20, 2023

Various subroutines to format and wrap text

The format routine will format under all circumstances even if the width isn’t enough to contain the longest words. TextWrap will die under these circumstances, although I am told this is fixed. If columns is set to a small number and words are longer than that and the leading ‘whitespace’ than there will be a single word on each line. This will let you make a simple word list which could be indented or right aligned.

This port is a superset of p5-Text-Format – it includes the TextNWrap module.



Checkout these related ports:
  • Zxing-cpp - ZXing C++ Library for QR code recognition
  • Zu-hunspell - Zulu hunspell dictionaries
  • Zu-aspell - Aspell Zulu dictionary
  • Zq - Easier and faster alternative to jq
  • Zorba - General purpose C++ XQuery processor
  • Zenxml - Simple C++ XML Processing
  • Zed - Command-line tool to manage and query Zed data lakes
  • Yq - Command-line YAML and XML processor, jq wrapper for YAML/XML documents
  • Yould - Pronounceable word generator
  • Yodl - Easy to use but powerful document formatting/preparation language
  • Yi-hunspell - Yiddish hunspell dictionaries
  • Yi-aspell - Aspell Yiddish dictionary
  • Yelp-xsl - DocBook XSLT stylesheets for yelp
  • Yelp-tools - Utilities to help manage documentation for Yelp and the web
  • Ydiff - Diff readability enhancer for color terminals