Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. i=1
  4.  
  5. file="ATLASbins.txt"
  6.  
  7. while IFS= read line
  8. do
  9.  
  10. scan=$line
  11.  
  12. cat test.sh | sed "s/ set vchi 5000/ set vchi $scan/g" > test2.sh
  13.  
  14. chmod +x test2.sh
  15.  
  16. bash -x /home/mario/Mine/test2.sh
  17.  
  18. i=$((i + 1))
  19.  
  20. done <"$file"
  21.  
  22. #!/bin/bash
  23. /home/mario/mg5/bin/mg5_aMC
  24.  
  25. "import model Implementation"
  26.  
  27. "generate u++ > l+ l+"
  28.  
  29. output firstscript$i
  30.  
  31. launch firstscript$i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement