Project

General

Profile

« Previous | Next » 

Revision 9228

lib/sh/util.sh: added params(), which removes keyword-param-only vars from the environment

View differences:

lib/sh/util.sh
74 74

  
75 75
#### functions
76 76

  
77
params() { unexport "$@"; } # usage: func() { params param_var...; }
78

  
77 79
alias self='command "$FUNCNAME"' # usage: wrapper() { self ...; }
78 80

  
79 81

  

Also available in: Unified diff