We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.84.9
run = "cat /foo/bar.txt | tr -d '\n'"
for a file that looks like
foo
still keeps the newline
the new line gets dropped due to the pipe
Painful; this is causing significant friction in my workflow.
CLI: the Command Line Interface
The text was updated successfully, but these errors were encountered:
def run(plan): result = plan.run_sh(run="mkdir -p /src && echo kurtosis > /src/tech.txt", store=["/src/tech.txt"]) file_artifacts = result.files_artifacts result2 = plan.run_sh(run="cat /temp/tech.txt", files={"/temp": file_artifacts[0]}) plan.verify(result2.output, "==", "kurtosis\n") result2 = plan.run_sh(run="cat /temp/tech.txt | tr -d '\n'", files={"/temp": file_artifacts[0]}) plan.verify(result2.output, "==", "kurtosis") # this should pass but fails
Sorry, something went wrong.
h4ck3rk3y
Successfully merging a pull request may close this issue.
What's your CLI version?
0.84.9
Description & steps to reproduce
run = "cat /foo/bar.txt | tr -d '\n'"
for a file that looks like
still keeps the newline
Desired behavior
the new line gets dropped due to the pipe
What is the severity of this bug?
Painful; this is causing significant friction in my workflow.
What area of the product does this pertain to?
CLI: the Command Line Interface
The text was updated successfully, but these errors were encountered: