l70.2g

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 2G 代码 · 共 37 行

2G
37
字号
#printHere is a file "values".  Whenever the word"liter" appears in it, add at the end of thatline the characters   (1 liter = 1.06 quart)The parentheses should appear in the finalfile, and there should be one space before theleft parenthesis.  When done, rewritethe file and type "ready".#create Refgasoline: .52/gallonmilk: 35/qtrice: .30/lbacetic acid: 1.20/liter (1 liter = 1.06 quart)apples: .35/lbcider: .55/liter (1 liter = 1.06 quart)butter: .79/lbsoda: .42/liter (1 liter = 1.06 quart)eggs: .89/dozcream: 1.25/liter (1 liter = 1.06 quart)#create valuesgasoline: .52/gallonmilk: 35/qtrice: .30/lbacetic acid: 1.20/literapples: .35/lbcider: .55/literbutter: .79/lbsoda: .42/litereggs: .89/dozcream: 1.25/liter#user#cmp values Ref#log#next71.1a 5

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?