Skip to content

Clarify that the stop-parsing symbol is near-useless on Unix-like platforms (about_parsing) #4963

Closed

Description

Documentation Issue

While --%, the stop-parsing symbol technically works on Unix-like platforms (macOS, Linux), its Windows-focused behavior makes it near-useless there, which should be clearly stated.

Context of the issue

Detailed description of the issue

The idea behind --% was to allow command lines designed for cmd.exe to work in PowerShell.

The generalization of this idea would be to make --% work similar to /bin/sh (the default, POSIX-like shell) on Unix-like platforms; however, in PowerShell/PowerShell#3733 it was decided not to attempt that, so --%' s behavior remains Windows-focused.

As such, it has little value on Unix-like platforms, and that should be noted in about_Parsing.

Specifically, the following aspects make the behavior a poor fit on Unix:

Activity

  1. added
    area-language
    and removed
    issue-question
    on Oct 20, 2019
  2. added a commit that references this issue on Mar 30, 2020
    fb13c88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-language

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions