Closed lamyergeier closed 3 years ago
I can do mpv %s, but I want to run it inside bash script as I want to do some processing. This is basic script:
mpv %s
$cat Mpv.sh #!/usr/bin/env bash Url="${1}" mpv "${Url}"
I tested that this script is working by doing "echo something from inside a script to a file". But ${1}, the first argument is not being passed to Url
What I can understand is that %s is not getting passed as argument to the script? But why is that?
%s
Any suggestions?
I can do
mpv %s
, but I want to run it inside bash script as I want to do some processing. This is basic script:I tested that this script is working by doing "echo something from inside a script to a file". But ${1}, the first argument is not being passed to Url
What I can understand is that
%s
is not getting passed as argument to the script? But why is that?Any suggestions?