On Wed, 17 May 2006 17:28:26 GMT in comp.lang.python, Edward Elliott
<[EMAIL PROTECTED]> wrote:
>Sybren Stuvel wrote:
>
>> Andy Sy enlightened us with:
>>> Like I said, you'll *NEVER* get that fancy shmancy 'semantic
>>> indentation' idea to work properly in the most basic utilities which
>>> have the 8-space tabs assumption hardcoded in them.
>>
>> Fair enough. How much code is viewed with less and cat, and how much
>> is viewed using smart viewers/editors? I think the majority is viewed
>> using the latter.
>
>Just for the sake of completeness:
>
>cat file |sed 's/\t/ /g'
That doesn't always work. If you don't see why, you don't understand
my objection to TAB characters in text files.
>less -x4 file
That will work. As long as the creator of file used four-space TABs,
anyway...
Regards,
-=Dave
--
Change is inevitable, progress is not.
--
http://mail.python.org/mailman/listinfo/python-list