commands:builtin:caller

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
commands:builtin:caller [2015/02/15 22:41]
iankelling Make things a little clearer.
commands:builtin:caller [2022/03/20 14:23]
sahirhoda [Simple stack trace]
Line 25: Line 25:
   local frame=0   local frame=0
   while caller $frame; do   while caller $frame; do
-    ((frame++));+    ((++frame));
   done   done
   echo "​$*"​   echo "​$*"​
  • commands/builtin/caller.txt
  • Last modified: 2022/03/20 14:23
  • by sahirhoda