You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Obsidian under Arch Linux with the Bash shell
What shell are you using?
Bash
Please describe the problem
Hi, forgive me if I am stupid but I can not seem to figure out how to prompt for a value and
Have that passed as $1 (1st argument) to the executed shell script.
I created a prompt that asks How Many days?
Then I would like to pass that value to my script as $1, so it should be executed like: scriptname VALUE_FROM_PROMT (which in the script itself should be $)
What am i missing here?
Thanx
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Obsidian debug information
I use Obsidian under Arch Linux with the Bash shell
What shell are you using?
Bash
Please describe the problem
Hi, forgive me if I am stupid but I can not seem to figure out how to prompt for a value and$1, so it should be executed like: scriptname VALUE_FROM_PROMT (which in the script itself should be $ )
Have that passed as $1 (1st argument) to the executed shell script.
I created a prompt that asks How Many days?
Then I would like to pass that value to my script as
What am i missing here?
Thanx
Beta Was this translation helpful? Give feedback.
All reactions