Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 288 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 288 Bytes

Exercise 1-21

Write a program entab that replaces strings of blanks by the minimum number of tabs and blanks to achieve the same spacing. Use the same tab stops as for detab.

When either a tab or a single blank would suffice to reach a tab stop, which should be given preference?