Guillermo Moyna on Tue, 3 Sep 2002 14:20:14 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Silly rsh question...


I've been trying this for a while now, and have gotten nowhere. In c-shell, say I have a variable var. If I want to echo the literal variable name (not its value), I would do:

echo '$var'

Which prints '$var' on the screen. Now, if I do the same through rsh, I get nothing:

rsh somemachine echo '$var'

And I get null. Any clues as to how to pass something with a $ in it protected from the shell through rsh to another machine?



+==================-------------- --- -- -  -    -     -
Guillermo Moyna, PhD
Assistant Professor of Chemistry
Department of Chemistry & Biochemistry
University of the Sciences in Philadelphia
600 South 43rd Street
Philadelphia, PA 19104-4495

 "The only existing things are atoms and empty space.
  All else is mere opinion" - Democritus, 370 B.C.

Office: Griffith Hall 360
Phone:  (215) 596-8526
Fax:    (215) 596-8543
     -     -   -  - -- --- -----------=================+

Philadelphia Linux Users Group        --
Announcements -
General Discussion  --