Re: remote ssh awk!

2017-06-21 Thread Cameron Simpson
On 20Jun2017 10:19, bruce 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

Re: remote ssh awk!

2017-06-21 Thread fred roller
On Tue, Jun 20, 2017 at 10:41 AM, Frédéric Bron 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 /do

Re: remote ssh awk!

2017-06-20 Thread Joe Wulf
2017 10:20 AM Subject: remote ssh awk! Hey... 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]++&#

Re: remote ssh awk!

2017-06-20 Thread Frédéric Bron
> 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 tha

remote ssh awk!

2017-06-20 Thread bruce
Hey... 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 However I'm unable to ge