[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pipe help



on Fri, Oct 26, 2001 at 07:29:36PM -0500, Hall Stevenson (hallstevenson@mindspring.com) wrote:
> I think this should be simple...
> 
> I want to run a command (traceroute) and have the date/time listed
> before the trace output. I'll do this multiple times and want to keep
> appending to the same file.
> 
> The results will ideally look something like this:
> 
> 'date/time'
> (trace results)
> 
> 'date/time'
> (trace results)
> 
> and so on...

    $ ( date | traceroute <foo> )

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>       http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?             Home of the brave
  http://gestalt-system.sourceforge.net/                   Land of the free
   Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire                     http://kmself.home.netcom.com/resume.html

Attachment: pgpJleIpgJwMo.pgp
Description: PGP signature


Reply to: