S
shai.ovadia
Hi all,
I have a simple text file which has several lines with one word in each
line.
All I wanna do is display this file to the screen when the output is
divided to 4 columns with numbers near each word.
Let's say the text file is this:
aa
bbbbb
c
ddd
eee
f
gg
hhhhhhh
....
I want the output to the screen will look like that:
1. aa 2. bbbbb 3. c 4. ddd
5. eee 6. f 7. gg 8. hhhhhhh
....
Where the width between the words (and numbers) must be equal.
Of course, words length is vary (Some of them can be double size than
others.)
Any sugestions please???
Thanks,
Shai.
I have a simple text file which has several lines with one word in each
line.
All I wanna do is display this file to the screen when the output is
divided to 4 columns with numbers near each word.
Let's say the text file is this:
aa
bbbbb
c
ddd
eee
f
gg
hhhhhhh
....
I want the output to the screen will look like that:
1. aa 2. bbbbb 3. c 4. ddd
5. eee 6. f 7. gg 8. hhhhhhh
....
Where the width between the words (and numbers) must be equal.
Of course, words length is vary (Some of them can be double size than
others.)
Any sugestions please???
Thanks,
Shai.