Download raw body.
POSIX shell portability fixes under regress/
On Tue, Dec 29, 2020 at 02:13:38PM +0900, Ryo ONODERA wrote: > I want to use got under NetBSD in future. > NetBSD's package management system, pkgsrc dislikes == comparison > in test/[. > It was my motivation. > > GNU sed's -i is always headache for me too. > > My patch is intended to fix one problem. > I would like to submit another patch later. Patches for better cross-platform compatibility are always welcome. If the change improves POSIX compatibility or will work on any *BSD, please send the patch. If you need to make NetBSD-specific changes, it would be better for me to keep those changes separate. Perhaps they could be maintained as patch files in pkgsrc. (The FreeBSD port stores FreeBSD-specific changes as patches in the FreeBSD ports tree.) Alternatively, I could create a got-portable.git repository on git.gameoftrees.org for cross-project collaboration. By the way, about 18 months ago, Thomas Klausner was trying to port Got to NetBSD. This effort stopped because of portability difficulties. But because Got now runs on FreeBSD I expect most of these problems have now been solved. Regards, Stefan
POSIX shell portability fixes under regress/