Skip to content

lsx-proc eats final blank #32

@TinoDidriksen

Description

@TinoDidriksen

On macOS and older distros, input (http://sprunge.us/FrmAHK) echo -ne '^Apertium<np><al><m><sg>$ ^être<vbser>pri><p3><sg>$ ^un<det><ind><m><sg>$ ^logiciel<n><m><sg>$ ^de<pr>$ ^traduction<n><f><sg>$ ^automatique<adj><mf><sg>$^.<sent>$[][\n]' | lsx-proc fra-cat.autosep.bin
yields output
^Apertium<np><al><m><sg>$ ^être<vbser><pri><p3><sg>$ ^un<det><ind><m><sg>$ ^logiciel<n><m><sg>$ ^de<pr>$ ^traduction<n><f><sg>$ ^automatique<adj><mf><sg>$^.<sent>$
where the final blanks are missing.

Works on Ubuntu 20.04, weirdly enough.

Potentially related to #26

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions