I've a file which contains a list of remote files:/trunk/a.java/trunk/b.java/tags/v1/a.javaI need to search a string into these files' contains. But they're remote file so I need to prefix them with a http:// part.How can I do it ? I know cat and grep command but I don't know how to iterate over my file list, and concatains with a prefix...
How to search from a list of remote file
debian;remote;search
Assuming listoffiles is the file with the list of names,and they all start with / so you want to prefix with http:/,and use curl, say, to get the file, you can do something simple like:while read filedo    if curl http:/$file | grep 'my pattern'  then svn ...$file...  fidone <listoffiles