Project

General

Profile

« Previous | Next » 

Revision 14719

lib/sh/util.sh: next_stack_frame: documented usage

View differences:

trunk/lib/sh/util.sh
277 277
### stack traces
278 278

  
279 279
alias init_i='declare i="${i-0}"'
280
alias next_stack_frame='let! i++'
280
alias next_stack_frame='let! i++' # usage: init_i; __; next_stack_frame
281 281

  
282 282
# makes stack_trace() skip the entry for the caller
283 283
alias skip_stack_frame='init_i; next_stack_frame'

Also available in: Unified diff