loop over files


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. for f in `find . -name flags.make`
  2. do
  3. echo $f
  4. sed -i -e '1,$s/C_FLAGS =/C_FLAGS = -I\/opt\/local\/include\//' $f
  5. done

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.