On Tue, Jun 20, 2017 at 10:41 AM, Frédéric Bron <[email protected]> wrote:
> > Curious as to how to get the following to work remotely over SSH. The > > cmd is used to remove redundant lines, while maintaining order in the > > output file. > > > > The following works if I insert it in the remote term. > > cat /dog/aaa.dat | awk '!a[$0]++' > /dog/aaa.dat_tmp > > What about copying that command into a script and run the script remotely. > > Frédéric > _______________________________________________ > users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > You could try piping the command to ssh [command] | ssh [destination] would need to read the man page for ssh to ensure appropriate flags are set.
_______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected]
