Standard Indentation etc.

Rahul Dhesi dhesi at bsu-cs.UUCP
Wed Dec 21 02:16:18 AEST 1988


In article <291 at gsg.UUCP> lew at gsg.UUCP (Paul Lew) writes:
     Once a programmer changed his tab indentation to 4 spaces and
     guess what happen when he tried to print the file?...If you use
     'ed' to edit a vi file with tabstop set to 4, you better make sure
     your terminal is wide enough.  You can not show your file on your
     colleague's terminal with 8 spaces tabs without extra work...

I usually do something like this:

     pr file ... | expand -3 | lpr               # to print
     less -x3 file ...                           # to send to screen
-- 
Rahul Dhesi         UUCP:  <backbones>!{iuvax,pur-ee}!bsu-cs!dhesi



More information about the Comp.lang.c mailing list