Guest User

Untitled

a guest
Jan 7th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. myfunction() (
  2. ...
  3. )
  4.  
  5. myfunction() {
  6. ...
  7. }
  8.  
  9. CODE=$(typeset -p preexec_functions; functions $preexec_functions) your-script
  10.  
  11. eval "$CODE"
Add Comment
Please, Sign In to add comment