Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The GNU way for handling files that have inconvenient characters in their names is:

    find ... -print0 | xargs -0 ...
It makes all the problems go away.


Also you can use readarray to store the found filenames in a bash array (to use with a for loop).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: