On Mon, 1 Aug 2022 at 13:16, Stefan Schulze Frielinghaus wrote: > > On Mon, Aug 01, 2022 at 12:25:21PM +0100, Jonathan Wakely wrote: > > On Mon, 1 Aug 2022 at 09:24, Stefan Schulze Frielinghaus wrote: > > > I gave unexpand from GNU coreutils 8.32 a try. Looks like it cannot > > > deal with form feeds or maybe I'm missing something? > > > > > > $ bash -c "printf 'foo\n\f\n bar\n'" | unexpand - > > > foo > > > unexpand: input line is too long > > > > Which linux distro are you using? I see this error on Fedora and > > Centos 8 but not on recent Debian or Ubuntu systems. > > I can reproduce this on Fedora {33,34,35} and on Ubuntu 20.04 it seems > to work.
There's a fix in Fedora rawhide now, which will also make it into RHEL, CentOS, and (I assume) F35 and F36.