Hey Ramo. This works for me:

$ cat Capfile
task :search_libs, :hosts => 'localhost' do
  run "ls -x1 /usr/lib | grep -i xml"
end
$
$ cap search_libs
  * executing `search_libs'
  * executing "ls -x1 /usr/lib | grep -i xml"
    servers: ["localhost"]
Password:
    [localhost] executing command
 ** [out :: localhost] libakonadi-xml.so.4
 ** [out :: localhost] libakonadi-xml.so.4.5.0
 ** [out :: localhost] libixml.so.2
 ** [out :: localhost] libixml.so.2.0.4
 ** [out :: localhost] libkxmlrpcclient.so.4
 ** [out :: localhost] libkxmlrpcclient.so.4.5.0
 ** [out :: localhost] libQtXmlPatterns.so.4
 ** [out :: localhost] libQtXmlPatterns.so.4.7
 ** [out :: localhost] libQtXmlPatterns.so.4.7.0
 ** [out :: localhost] libQtXml.so.4
 ** [out :: localhost] libQtXml.so.4.7
 ** [out :: localhost] libQtXml.so.4.7.0
 ** [out :: localhost] libwx_baseu_xml-2.8.so.0
 ** [out :: localhost] libwx_baseu_xml-2.8.so.0.7.0
 ** [out :: localhost] libxml2.a
 ** [out :: localhost] libxml2.la
 ** [out :: localhost] libxml2.so
 ** [out :: localhost] libxml2.so.2
 ** [out :: localhost] libxml2.so.2.7.7
 ** [out :: localhost] xml2Conf.sh
    command finished in 1720ms
$

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to