Skip to content

bash -rcfile vs. --rcfile #4793

@egmontkob

Description

@egmontkob

Is there an existing issue for this?

  • I have searched the existing issues

Midnight Commander version and build configuration

4.8.33

Operating system

any

Is this issue reproducible using the latest version of Midnight Commander?

  • I confirm the issue is still reproducible with the latest version of Midnight Commander

How to reproduce

bash 1.x had -rcfile, bash 2.0 changed that to --rcfile.

As per #4599 (comment) I'd like to drop support for bash 1.x.

Even though the single-dash variant is still supported, let's switch to the official documented double-dash.

(Let's also check if we're using obsolete flags with any other shell.)

Expected behavior

x

Actual behavior

x

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues not related to a specific subsystemprio: mediumHas the potential to affect progress

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions