Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 3
    This doesn't make sense. You have a working solution in Perl, but you want to use Sed, why? Commented Jul 23, 2016 at 6:44
  • @Kusalananda perl may not be available on all *nix platform. Whereas sed is generally available on almost every *nix platform. Commented Mar 2, 2023 at 20:14
  • @Sagar Those are interesting statements. Let me know a Unix where Perl is unavailable as part of the base system and as a package. Also, "on almost every platform" seems to insinuate that there are Unix systems without sed. Which ones are these? Commented Mar 2, 2023 at 20:31
  • 2
    Embedded device running busybox - no perl there. Commented Mar 22, 2023 at 10:24