1FRIBIDI(1) User Contributed Perl Documentation FRIBIDI(1)
2
3
4
6 fribidi.pl - Convert logical text to visual, via the unicode bidi
7 algorithm
8
10 version 2.15
11
13 # display bidi text given in logical order in foo.txt
14 fribidi.pl foo.txt
15 # same, but force Right-To-Left paragraph direction
16 fribidi.pl --rtl foo.txt
17 # same, but break lines on spaces
18 fribidi.pl --rtl --break -- foo.txt
19
21 This script is similar to the fribidi(1) program provided with
22 libfribidi, and performs a subset of its functions. The main point is
23 to test Text::Bidi and provide a usage example.
24
26 --(no)ltr
27 Force all paragraph directions to be Left-To-Right. The default is
28 to deduce the paragraph direction via the bidi algorithm.
29
30 --(no)rtl
31 Force all paragraph directions to be Right-To-Left. The default is
32 to deduce the paragraph direction via the bidi algorithm.
33
34 --width=n
35 Set the width of the output lines to n. The default is to use the
36 terminal width, or 80 if that cannot be deduced.
37
38 --break[=s]
39 Break the line at the string s. If this is given, the width
40 functions as an upper bound for the line length, and the line might
41 be shorter. The default value for s is ' ', but note that anything
42 following the option will be interpreted as the argument, unless it
43 is of the form "--...".
44
45 --levels
46 Also output the embedding levels of the characters. Mostly for
47 debugging.
48
49 --help,-?
50 Give a short usage message and exit with status 1
51
52 --version
53 Print a line with the program name and exit with status 0
54
56 Any argument is interpreted as a file name, and the content of all the
57 files, as well as the standard input are concatenated together.
58
60 Text::Bidi, Text::Bidi::Paragraph, fribidi(1)
61
63 Moshe Kamensky <kamensky@cpan.org>
64
66 This software is copyright (c) 2015 by Moshe Kamensky.
67
68 This is free software; you can redistribute it and/or modify it under
69 the same terms as the Perl 5 programming language system itself.
70
71
72
73perl v5.34.0 2021-07-23 FRIBIDI(1)