Skip to content

Add a CL wrapper around the mktemp command to generate temp files on the fly for a regular IBMi job #14

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

Open
richardschoen opened this issue Nov 4, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@richardschoen
Copy link
Owner

Make life easier when needing to create a temp file from an IBM i CL/RPG job.

@richardschoen richardschoen added the enhancement New feature or request label Nov 4, 2022
@richardschoen
Copy link
Owner Author

Create a temporary file

temp_file=$(mktemp)

Create a temporary file with a specific template

temp_file_with_template=$(mktemp /tmp/mytemp.XXXXXX)

Create a temporary directory

temp_dir=$(mktemp -d)

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