Revision 8959
Added by Aaron Marcuse-Kubitza about 11 years ago
util.sh | ||
---|---|---|
215 | 215 |
EOF |
216 | 216 |
)" |
217 | 217 |
|
218 |
make () |
|
219 |
{ |
|
220 |
echo_func |
|
221 |
stdout2stderr=1 self "$@" |
|
222 |
} |
|
218 |
make () { echo_func; stdout2stderr=1 self "$@"; } |
|
223 | 219 |
|
224 | 220 |
if false; then ## usage: |
225 | 221 |
inline_make 3<<'EOF' |
... | ... | |
302 | 298 |
${password+="$password"} ${database:+--databases "$database" --tables } "$@" |
303 | 299 |
} |
304 | 300 |
|
305 |
mysql () |
|
306 |
{ |
|
307 |
echo_func |
|
308 |
mysql_cmd --verbose "$@" |
|
309 |
} |
|
301 |
mysql () { echo_func; mysql_cmd --verbose "$@"; } |
|
310 | 302 |
|
311 | 303 |
mysql_ANSI () |
312 | 304 |
{ |
Also available in: Unified diff
*{.sh,run}: put functions on one line where possible (and where they are not expected to expand)