Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend pash with pure command #421

Closed
angelhof opened this issue Dec 7, 2021 · 2 comments
Closed

Extend pash with pure command #421

angelhof opened this issue Dec 7, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@angelhof
Copy link
Member

angelhof commented Dec 7, 2021

This allow users to wrap pure commands of their scripts without having to write annotations for them. It would make especially a lot of sense for functions.

@angelhof angelhof added the enhancement New feature or request label Dec 7, 2021
@angelhof
Copy link
Member Author

It could be used as follows:

pure -i in1 in2 in3 -o out1 out2 out3 -- comm args

where -i indicates the input files, -o indicates the output files, and everything after -- is the command to run.

This should be implemented as the identity (for when PaSh decides not to compile a fragment that contains it) and when PaSh sees it, it should know the inputs and outputs of that command.

@angelhof
Copy link
Member Author

Subsumed by #453

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant