On 2006-12-27, Ben <[EMAIL PROTECTED]> 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            
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to