Project

General

Profile

« Previous | Next » 

Revision 8833

*{.sh,run}: commands that take named arguments: usage messages: changed to use simpler bash syntax for specifying command-specific env vars, which does not require a subshell ("The environment for any simple command or function may be augmented temporarily by prefixing it with parameter assignments" <http://www.gnu.org/software/bash/manual/bash.html#Environment&gt;)

View differences:

local.run
15 15
	echo_run mysql_bien --database="$schema" --verbose "$@"
16 16
}
17 17

  
18
psql () # usage: ([file=...] [dir=...]; self)
18
psql () # usage: [file=...] [dir=...] self
19 19
{
20 20
	echo_func "$@"
21 21
	local dir="$dir"

Also available in: Unified diff