Skip to content

Filelist can't handle carriage return #787

@Pigpog

Description

@Pigpog

Feh is unable to use filelists that contain DOS-style line breaks.

$ file playlist.txt
playlist.txt: ASCII text, with CRLF line terminators

$ cat playlist.txt
DSC_0187.JPG

$ feh --filelist playlist.txt
 - Does not look like an image (magic bytes missing)
feh: No loadable images specified.
See 'feh --help' or 'man feh' for detailed usage information

$ feh -v
feh version 3.10.3
Compile-time switches: curl exif inotify help magic stat64 verscmp xinerama

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions