escaping - Is it properly quoted when I using '*' or '**/*' in bash? -
find -name '*.jpg' -print0 | xargs -0 qiv
qiv **/*.jpg
both safely escaped , delivered qiv?
yes. in first case, find expanding wildcard internally, , delivering results xargs expects them. in second, shell expanding them , passing each match separate argument. both correct (assuming shell support **, , command line length maximum isn't exceeded).
Comments
Post a Comment