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

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -