Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #...
  2.  
  3. template_file="~/mytest_template.c";
  4.  
  5. if [[ -z $template_file ]]; then
  6. echo -e "#include <stdio.h>n#include <stdlib.h>nnnint main(int argc, char**argv){nntnnreturn 0;n}" > ~/mytest_template.c;
  7. fi
  8.  
  9. #sleep 0.5; ---> I tried this too.
  10.  
  11. cp ~/mytest_template.c mytest.c;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement