[windows2000] Re: Appending logs to plain text-files

  • From: "Sorin Srbu" <Sorin.Srbu@xxxxxxxxxxxxx>
  • To: "windows2000@xxxxxxxxxxxxx" <windows2000@xxxxxxxxxxxxx>
  • Date: Thu, 11 Nov 2004 08:53:21 +0100

On Wed, 10 Nov 2004 14:57:19 -0000, Spriggs Jon wrote:

>Chevrons are part of the input, output, piping system that Windows inherited
>from DOS (and I suspect, DOS inherited from Unix - but I might be wrong).
>
>The single right facing chevron (>) creates or overwrites output to a file
>The double right facing chevron (>>) appends output to a file
>The single left facing chevron (<) reads text from a file
>The bar or pipe character (|) uses the output of one program as the input of
>another
>
>The numbers 1 and 2 are a fairly new addition, and I've definitely come
>across these before in Linux, so when I saw 1>> instead of the >> I used on
>one occasion, I tried adding 2>> and it worked... The only time I've seen
>documentation about piping and redirection has been in DOS books...

Hmmm... I obviously need to brush up on this... Better dust off
that dos 6.20-book I bought so long ago... 8-]

Thx.


>>Nope... If you use a single chevron character it creates or overwrites 
>>a file, if you use two it appends.
>
>Cool, thanks!
>
>How come I've seen those chevron-documentations, I assume they are, aren't
>they??


BW,

Sorin

> Sorin Srbu, Systems Engineer          Web: http://www.farmfak.uu.se/organisk/
> Dept of Medicinal Chemistry,          Phone: +46 (0)18-4714482 >> 3 signals 
> >> GSM
> Div of Org Pharm Chem,                Mobile Phone: +46 (0)701-718023
> Box 574, Uppsala University,          Fax: +46 (0)18-4714474
> SE-751 23 Uppsala, Sweden             Visit: BMC, Husargatan 3, D5:512b
>
> Public PGP key available on request.
>
> ()  ASCII ribbon campaign - Against html E-mail 
> /\
>
> Harmless tagline follows:
>
> BOFH excuse follows: Somebody ran the operating system through a spelling 
> checker.



********************************************************
This Weeks Sponsor StressedPuppy.com Games
Feeling stressed out? Check out our games to
relieve your stress.
http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: