Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. function foo ()
  4. {
  5. test_para_2=2
  6. $1=$test_para_2
  7. }
  8.  
  9. test_para_1=1
  10. foo $test_para_1
  11.  
  12. echo $test_para_1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement