2009/4/13 Ricardo Nabinger Sanchez <rnsanc...@wait4.org>: > Hello Jonas, > > On Mon, 13 Apr 2009 21:33:38 +0200 > Jonas Karlsson <cj.karls...@gmail.com> wrote: > >> Is this really correct? Doesn't it only try to match the literal >> string "python*" and not do a wild card match? > > Actually it is passing python* to find, which is doing what you said--- > trying to match something named python*, literally. If I can't get it > right, I'll revert. It appeared to be OK, but it still issues this: > > /root/Programs/Rootless/Current/bin/StartRootless:1: no matches found: > python* > Have you tried the find command manually? I get the same result as above if I try the commited find command. You can't both quote *and* escape.
> Then, if line 18 of StartRooless reads like: > > done < <(find "${goboPrefix}/System/Links/Libraries" -maxdepth 1 -name > python\* | sort) > > It works without an issue. I'm just not getting either python\* or > 'python*' (these both should and do work). > Yes, but currently you pass 'python\*' - with single quotes and backslash. That will only match the litteral string. Also remember that bash uses the literal string when single quotes are used, but expands the string when double quotes are used. Have you tried "python*"? -- /Jonas _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel