Phil Meyer wrote: > $ ssh otherhost "uptime | awk '{print \$1}'" > awk: cmd. line:1: {print \} > awk: cmd. line:1: ^ backslash not last character on line Hmmm, it works for me. I tested against remote hosts running openssh-4.2p1 and openssh-3.1p1, as well as against a more current FC6 openssh server (4.3p2-19.fc6). Is there something funky about the shell on 'otherhost' or perhaps the version of awk? -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ====================================================================== If you're not confused, you're not paying attention
Attachment:
pgpMnd8Q5gUdF.pgp
Description: PGP signature