Hi all

I am trying to do this:

cat file | sed s/this/that/g | scp - [EMAIL PROTECTED]:/home/someplace/

As I want to replace some strings in file and copy it to another server in a Makefile line. It looks like scp doesn't recognise - as "take input from its stdin".

How can I do what I intend?

Mike
--
Michael Lake
Computational Research Support Unit
Science Faculty, UTS
Ph: 9514 2238



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to