Roland Mainz writes:
> * Be carefull with using TABS in script code, they are not portable
> between editors or platforms

Could you clarify this one, please?

Are you referring to the ASCII TAB (0x09) character?  If so, what's
not "portable" about it?  Are you hinting at the people who
misconfigure their editors away from the Right And True 8-character
tab stops to something bizarre such as 4-character?

If so, I don't think this bit of advice works here, at least for ON in
OpenSolaris.  In all other places in our code, we assume 8-character
tab stops -- and quite intentionally, as code that needs smaller
indents is typically badly written and likely unmaintainable anyway.

Perhaps avoiding tabs is reasonable advice for folks writing scripts
that will be taken away to more hostile environs (Linux? Windows?),
but I don't think it's right for us.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to