[Tutor] What does '>>' pr '>' do?

Bob Gailer ramrom@earthling.net
Wed Mar 12 14:47:08 2003


--=======43AE35D2=======
Content-Type: text/plain; x-avg-checked=avg-ok-4B3B7BC2; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 8bit

At 10:32 AM 3/12/2003 -0800, Gerardo Arnaez wrote:
>'pipr' info into a file.
>I think it was either '>' or '>>' but can not find it in documentation

I think this refers to things you can do in the WIndows command line or the 
*ux shell. Example

someprompt>python foo.py > somefile.txt

directs any stdout from the python program to somefile.txt. >> does same 
except appends to somefile.txt

Bob Gailer
mailto:ramrom@earthling.net
303 442 2625

--=======43AE35D2=======
Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-4B3B7BC2
Content-Disposition: inline


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003

--=======43AE35D2=======--