bug-parallel
[Top][All Lists]
Advanced

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

Check for echo in PATH instead of hardcoding /bin/echo


From: Bjørn Forsman
Subject: Check for echo in PATH instead of hardcoding /bin/echo
Date: Fri, 23 Oct 2020 20:03:10 +0200

Hi,

GNU Parallel depends on a real echo implementation and currently does
that by hardcoding /bin/echo. Instead of hardcoding the path, please
either look for echo at configure time, or run time. (If at runtime,
please add error handling / no silent failing.)

Background: I just discovered a regression in nixpkgs after it
upgraded parallel to version 20200822 and parallel insisted on
--max-line-length-allowed being only 324. It turned out to be because
of missing /bin/echo. If either of the above suggestions would be
implemented, that issue would not happen. (I submitted an immediate
fix for nixpkgs, but I think this should be handled upstream.)

Thanks.

Best regards,
Bjørn Forsman



reply via email to

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