Guest User

Untitled

a guest
Nov 18th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. ## def
  2. eval "function original_titel { $functions[title] }"
  3. function title {
  4. if [ "$TAB_TITLE" != "" ];then 1=$TAB_TITLE;fi
  5. original_titel
  6. }
  7.  
  8. ## without the function I get
  9. (eval):9: parse error near `}'
  10. title:2: command not found: original_titel
  11.  
  12. ## cmd
  13. ➜ ~ echo $functions[original_title]
  14.  
  15. ➜ ~ echo $functions[title]
  16. if [ "$TAB_TITLE" != "" ]
  17. then
  18. 1=$TAB_TITLE
  19. fi
  20. original_titel
Add Comment
Please, Sign In to add comment