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
{{ message }}
This repository has been archived by the owner on May 31, 2018. It is now read-only.
$ touch "foo bar"
$ pacaur -Qo foo\ bar
error: failed to find 'foo' in PATH: No such file or directory
error: failed to find 'bar' in PATH: No such file or directory
$ pacman -Qo foo\ bar
error: No package owns foo bar
You should quote everything so that arguments get forwarded exactly as is. E.g.,
Upon further inspection, there's another problem with your script. Places like this:
[[ -z "${repopkgs[@]}" ]]
should be like this instead:
[[ -z "${repopkgs[*]}" ]]
FYI,
foo=(a "b c")
"${foo[@]}" # expands to "a" "b c"
"${foo[*]}" # expands to "a b c"
${foo[@]} # expands to "a" "b" "c"
${foo[*]} # expands to "a" "b" "c"
The text was updated successfully, but these errors were encountered:
Thanks, this is related to #460. I am aware of that issue and never fixed it since nobody should use silly space in filenames. So the question remains: Why would you use space in filename? What is your usercase?
There are packages that contain files with spaces in their names. I have no control over this. Doing pacaur -Qo on these files to find out which package owns them should just work.
E.g.,
You should quote everything so that arguments get forwarded exactly as is. E.g.,
instead of
Upon further inspection, there's another problem with your script. Places like this:
should be like this instead:
FYI,
The text was updated successfully, but these errors were encountered: