fribidi

Implementation of the Unicode Bidirectional Algorithm for text processing

brewmacoslinux
Try with needOr install directly
Source

About

Implementation of the Unicode BiDi algorithm

Commands

fribidi

Examples

Display bidirectional text with visual reordering$ fribidi --text 'Hello مرحبا World'
Convert logical RTL text to visual representation$ echo 'שלום עולם' | fribidi
Process file with automatic direction detection$ fribidi --check input.txt