Guest User

Untitled

a guest
Mar 21st, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. for x in 10 20
  2. do
  3. sed -i -e 's/const int N = 10;/const int N = '$x';/g' test.cpp
  4. ./test.cpp
  5. sed -i -e 's/const int N = '$x';/const int N = 10;/g' test.cpp
  6. done
Add Comment
Please, Sign In to add comment