Differences

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

Link to this comparison view

Both sides previous revision Previous revision
snipplets:prargs [2013/03/23 16:24]
ormaaj Totally hide debug output, even the initial test
snipplets:prargs [2013/03/23 16:25] (current)
ormaaj
Line 22: Line 22:
 # Bash or ksh93 debugging function for colored display of argv. # Bash or ksh93 debugging function for colored display of argv.
 # Optionally set OFD to the desired output file descriptor. # Optionally set OFD to the desired output file descriptor.
-# Debugging function for colored display of argv. 
 function args { function args {
  { BASH_XTRACEFD=3 command eval ${BASH_VERSION+"​$(</​dev/​fd/​0)"​};​ } <<​-'​EOF'​ 3>/​dev/​null  { BASH_XTRACEFD=3 command eval ${BASH_VERSION+"​$(</​dev/​fd/​0)"​};​ } <<​-'​EOF'​ 3>/​dev/​null
  • snipplets/prargs.1364055891.txt
  • Last modified: 2013/03/23 16:24
  • by ormaaj