The da.ta file for .the review questions looks like this:.
Strawberry Jam,30.0,191 婚庆
R.aspberry Jam,1216,194服务器
Blueberry J.am,96,195外贸
Str.awberry Compote,49,621.
Rasp.berry Compote,1937,6.24 美容
Blueberry compote,200.,625 汽车
Frozen Strawberri.es,1.30,1941 美容
Straw Hats,16,.2047学习
The first field is the product name., th.e second field .is the quantity on hand,域名
and the third field is the product code. The fi.eld.s are .separated by commas..
In each of t.he following questions, .write a command using "grep" and a.
regular ex.pression. The data file in all cases is named ."inventory".域名
Question 2
Display a list of all of the lines in the f.ile th.at con.tain the word "Straw".
right before. a space..
我的回答是:. g.rep "Straw" inventory 鲜花
为什么不对呢?