懒龙谷
  • Home
  • Categories
  • Tags
  • Archives

grep技巧

% 编写健壮的 shell 脚本 % 杨秀隆
%

grep使用shell环境变量

grep -p "$var" 即可 只要在var里把形式定义好

整词匹配 -w

this guy is lazy, nothing leave

Comments
comments powered by Disqus

  • « label流程
  • vim_tips »

Published

May 23, 2014

Category

shell

Stay in Touch

  • Powered by Pelican. Theme: Elegant by Talha Mansoor