Skip to content

Improve documentation on "magic" variables #401

Open
@chtenb

Description

@chtenb

I've noticed here and there that it is possible to directly refer to a parameter in a command without declaring it in a block. E.g.

echo $scores | where $it > 7
[1, 2, 3] | $in.2

It appeals to me because I find that the declaration part with the pipes is a little annoying to type. But I can't find any documentation on when and where it might be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions