Skip to content

Substitute host dependencies for native shell built-ins or for already existing dependencies #1696

@fiftydinar

Description

@fiftydinar

To make AM more compatible with other distributions, this is one of the steps that needs to be done.

This is a tracker for host dependencies which can be replaced for native shell built-ins or for already existing dependencies:

Not finished:

  • file: maybe using Azathothas file bash script will suffice?

Mostly finished:

  • column: Works mostly well with GNU awk, has extra whitespace for symbols. Doesn't work well with BSD's awk.
    Because of that, it's only used as a fallback if column is not installed.

Finished:

  • realpath: replaced by readlink -f
  • basename: replaced by native shell function
  • dirname: replaced by native shell function

If you know more of this, let me know, list will be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions