File transfer performance display?

Cole Tuininga colet-KCgK2vT7wad/90uGnh1m2w at public.gmane.org
Tue Sep 30 21:30:50 EDT 2008


On Tue, 2008-09-30 at 18:10 -0400, Tom Metro wrote:
> John Abreau wrote:
> > If cstream gives you the output you want, try replacing \n with \r:
> > 
> >     ssh host run-program | cstream -T 5 -o localfile | tr '\012' '\015'
> 
> That was my thought as well. Here's a slightly heavier weight version 
> that came to mind first:
> 
> ssh host run-program | cstream -T 5 -o localfile | perl -pe 'tr/\n/\r/'

Just a small point, but most systems come with an actual "tr" command
that is lighter weight than firing up a perl interpreter.  :)

-- 
A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>> A: Top-posting.        
>>> Q: What is the most annoying thing on Usenet and in e-mail?

Cole Tuininga
colet-KCgK2vT7wad/90uGnh1m2w at public.gmane.org
http://www.code-energy.com/







More information about the Discuss mailing list