Skip to content

<() equivalent #1

@veilm

Description

@veilm

from skimming gemini's suggestions it looks like regular shells have a feature cmd arg1 arg2 <(cmd2 foo) which makes arg3 a temp file equal to the output of cmd2 foo?
idk if that's it, but either way seems potentially useful. but special syntax is too much for this, jts add like a tmpf binary that will take stdin, write to a temp file, and output the temp filename

then you just have cmd arg1 arg2 [cmd2 foo | tmpf]
done it's clean

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