On Wed, 2006-08-09 at 16:59 +1000, David Gillies wrote: > Gavin Carr wrote: > > sed s/this/that/g file | ssh [EMAIL PROTECTED] 'cat > /home/someplace' > > Wouldn't that need to be: > > sed s/this/that/g file | ssh [EMAIL PROTECTED] 'cat - > /home/someplace'
Doesn't need to be. cat will just take input on stdin if you don't give it a filename. -- Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
