TODO

完成

恭喜!你完成了 minigrep 命令行文件内容搜索程序!



完整代码 就不贴了,按步骤完成自然有了完整的代码,要常回顾看看,温故而知新哦!


运行效果:

在 console 输入如下命令查看运行结果

  • cargo run
  • cargo run body poem.txt
  • cargo run to poem.txt
  • CASE_INSENSITIVE=1 cargo run to poem.txt