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