groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug or my ignorance?


From: Ulrich Lauther
Subject: bug or my ignorance?
Date: Tue, 11 Aug 2020 08:48:04 +0200

With this input 
        .di text
        test 1
        test 2
        test 3
        .
        .
        .
        test 27
        test 28
        test 29
        .di
        .text
        
        .text

and groff -T ascii
I get:
        test 26 test 27 test 28  test  29  test  1  test  2 test 3 test 4
        test 5 test 6 test 7 test 8 test 9   test 10 test 11 test 12 test
        13 test 14 test 15 test 16  test  17    test  18  test 19 test 20
        test 21 test 22 test 23 test 24 test 25
        
        test  1  test  2 test 3 test 4 test 5 test 6 test 7 test 8 test 9
        test 10 test 11 test 12 test 13 test 14 test 15 test 16  test  17
        test  18  test 19 test 20 test 21 test 22 test 23 test 24 test 25

However, when I use a macro instead of a diversion, I get:

        test  1  test  2 test 3 test 4 test 5 test 6 test 7 test 8 test 9
        test 10 test 11 test 12 test 13 test 14 test 15 test 16  test  17
        test  18  test 19 test 20 test 21 test 22 test 23 test 24 test 25
        test 26 test 27 test 28 test 29
        
        test 1 test 2 test 3 test 4 test 5 test 6 test 7 test  8  test  9
        test  10  test 11 test 12 test 13 test 14 test 15 test 16 test 17
        test 18 test 19 test 20 test 21 test 22 test 23 test 24  test  25
        test 26 test 27 test 28 test 29

as expected.
So, why behaves the diversion (for me) unexpected, or what am I doing wrong?

Best,

        ulrich lauther

























































        


























































-- 
        -lauther



reply via email to

[Prev in Thread] Current Thread [Next in Thread]