DOS, UNIX and tabs

Grant Edwards grante at visi.com
Wed Dec 27 13:50:23 EST 2006


On 2006-12-27, Ben <Benjamin.Barker at gmail.com> wrote:

>>> I've found the unexpand command, which seems to do the trick. However,
>>> it outputs to standard output, and I haven't worked out yet how to
>>> capture that output to a file...
>>
>> unexpand <file1 >file2

> Great - that worked.Thanks!
>
> Is that a general method in linux you can always use to redirect
> standard output to a file?

Yup.  The "<" operator redirects stdin, the ">" operator
redirects stdout.  "2>" redirects stderr.

-- 
Grant Edwards                   grante             Yow!  Let's go to CHURCH!
                                  at               
                               visi.com            



More information about the Python-list mailing list