-
I want to set a Just variable Can Just do that? (The only way I came up with was executing an external python script to do this, but that feels cumbersome.) Thanks for pointers! |
Beta Was this translation helpful? Give feedback.
Answered by
runeimp
May 24, 2023
Replies: 1 comment
-
I don't believe Just has a function for that. So needs to shell-out with backticks to do something like that. This should work for most POSIX systems. input := `ls *.md | head -1`
first-recipe:
echo {{input}} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
halloleo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't believe Just has a function for that. So needs to shell-out with backticks to do something like that. This should work for most POSIX systems.