Skip to content

Request: uutils repo for awk, sed, and grep #3527

Description

@tgross35

Hello uutils team,

I know there has been some interest in implementing these tools in previous issues. Would you consider setting up a repository with basic structure? The three tools could likely be combined into a single repository since there is a lot of common functionality among them.

They will need a BRE and ERE regex engine. One of the maintainers at rust-lang/regex stated that they would be open to adding a BRE/ERE parser to that crate, so it would be a good idea to build that regex functionality independent of the rest of the implementation so that it could be added back to the create. Alternatively, that part of the functionality could begin as a PR against rust-lang/regex.

Extra: I would like to make the mild suggestion to license only this new part of the project under Apache 2.0, which is somewhat common among Rust projects. I know this topic has been contentious so if there's more than, say, 8 messages regarding it then I'd say just stick with MIT. However, couple of merits:

  • Retain the ability to be used in closed-source distributions like unix, macOS, etc (like MIT)
  • Add that anybody who modifies the software must state what they modified, but does not have to provide source code. This means that they can still closed source distribute (like MIT) but anybody making changes at least has some incentive to commit improvements back to this repository (one of the big gripes by everyone who wanted GPL).
  • Continues to allow this project's usage of libraries that are licensed under Apache, and actually covers that case better.

^ That's about all I have or ever want to have to say about that

Anyway, if you get the time to just outline what success for a grep/awk/sed tool looks like, then some of us could start working on it. Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions