Rcping a file to localhost fails due to echo statement in .login file on a machine with RH 5.5
However, the same rcp is successful on another machine with Suse 9.2 (with the same .login). I cannot change .login file and was wondering at what could be causing this ?
Extract from "man csh". May be different on your system.
WARNINGS
The .cshrc file should be structured such that it cannot generate any
output on standard output or standard error, including occasions when
it is invoked without an affiliated terminal. rcp(1) causes .cshrc to
be sourced, and any output generated by this file, even to standard
error causes problems. Commands such as stty(1) should be placed in
.login, not in .cshrc, so that their output cannot affect rcp(1).