How do I surround a line with quotes on bash?

Posted by obvio171 on Super User See other posts from Super User or by obvio171
Published on 2010-04-24T00:07:07Z Indexed on 2010/04/24 0:13 UTC
Read the original article Hit count: 545

Filed under:
|
|

When I run for i in $(find -name '*.ogg'); do echo '$i'; done I don't get one line per file as I expected. Instead, when a file name has a space in it, each word comes out in a separate line, so I can't run commands on the files.

© Super User or respective owner

Related posts about bash

Related posts about linux