/ClassicalField/Poisson/42Master/rename_field.sh

http://github.com/xyan075/examples · Shell · 6 lines · 2 code · 2 blank · 2 comment · 0 complexity · d5dfeb5c554fd9cd9e79b57243c141d7 MD5 · raw file

  1. #!/bin/bash
  2. #rename the general field to source so that cmgui doesn't complain
  3. sed -i -e "s%4) general%4) source%" Poisson.part0.exnode
  4. sed -i -e "s%5) general%5) source%" Poisson.part0.exelem