Re: [PATCH] scripts: rewrite dcgen in shellscript

2024-05-29 Thread Jeffrey Walton
On Wed, May 29, 2024 at 4:02 AM Rob Landley wrote: > > On 5/27/24 11:21, Pádraig Brady wrote: > [...] > > BTW in regard to ensuring GNU sed is invoked, supporting overriding > > the called sed with a $SED env var would be useful. > > 20 years ago; > > http://lists.busybox.net/pipermail/busybox/20

Re: [PATCH] scripts: rewrite dcgen in shellscript

2024-05-29 Thread Rob Landley
On 5/27/24 11:21, Pádraig Brady wrote: > I agree that sed is a better dependency than perl, > however one of the big advantages that perl has is portability. Is there a second implementation of perl yet (ala ph7 for php and mruby for ruby and so on), or are you saying the one magic implementation

Re: [PATCH] scripts: rewrite dcgen in shellscript

2024-05-27 Thread Pádraig Brady
On 26/05/2024 22:09, Christopher Bayliss wrote: * this makes dcgen work when building corutils on a system without perl * I also added comments to help the next person who looks at this file * there is a minor difference in the output between the original dcgen and this version, lines that s

[PATCH] scripts: rewrite dcgen in shellscript

2024-05-26 Thread Christopher Bayliss
* this makes dcgen work when building corutils on a system without perl * I also added comments to help the next person who looks at this file * there is a minor difference in the output between the original dcgen and this version, lines that start with a [:blank:] don't have that blank in th