|
|
1.1 root 1: #print
2: (Section 1.5)
3: Write a program to replace each tab by the
4: three-character sequence >, backspace, -,
5: which prints as >-. The program should also replace
6: each backspace by the sequence <, backspace, -.
7: Compile it, test it, then type ready.
8: #once #create Ref
9: This contain s a back space and a tab.
10: #once #create Ref1
11: This contain <-s a back <-space and a>-tab.
12: #user
13: a.out <Ref >test
14: #cmp test Ref1
15: #log
16: #next
17: 5.1g 10
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.