Thread: problems with find command and variables in bash
ok, if run
everything functions expect to.code:find . -path 'abc' -not -path '*xyz'
if put after -not variable , run
it doesn't function properly.code:find . -path 'abc' $variable
here?
are there quotes around *xyz in variable value? not interpretted correctly shell if in variable's value. in other words, should assign variable this:
not thiscode:variable='-not -path *xyz'
code:variable="-not -path '*xyz'"
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] problems with find command and variables in bash
Ubuntu
Comments
Post a Comment