3 ms·
The HN entry title might be misleading: this is a Python tool, Perl is only mentioned in the Readme for comparison.
by HerrMonnezza 8y ago
The HN entry title might be misleading: this is a Python tool, Perl is only mentioned in the Readme for comparison.
- bihla 8y agoPerl is actually executing the text transformations. The python is a translation layer between the bsed syntax and the Perl command, so you get the performance of Perl with a very minor time cost for interpretation done in Python.
- singingfish 8y agoYeah, there's not a lot of point in having the python layer. Perl excels at these kinds of things. I'm guessing that the original developer just doesn't know perl well enough to implement that part. Which is not to denegrate his work, but this could easily be a drop in single file perl executable if someone does the actual (not that much) work.