l9.1a
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1A 代码 · 共 34 行
1A
34 行
#print(Section 1.9 -- read 1.6-1.8 too.)Write a program that removes trailing blanksand tabs from each line of input, and deletesentirely blank lines. To make your job easier,you can use the function getline; its sourceis in getline.c.Type ready when you are done.#once #create Ref This file containssome trailing blanks and tabs and some empty lines.#once #create Ref1 This file containssome trailingblanksand tabsand some empty lines.#once cp %s/getline.c .#usera.out <Ref >test#cmp test Ref1#succeedNo answer yet - sorry.#log#next10 10
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?