Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  _archive 1598 over 12 years Aaron Marcuse-Kubitza Moved _archive/tapir2flatClient/trunk/client/ t...
  analysis 3076 about 12 years Aaron Marcuse-Kubitza Added top-level analysis dir for range modeling
  backups 7564 over 11 years Aaron Marcuse-Kubitza lib/common.Makefile: remote server: Use jupiter...
  bin 8943 about 11 years Aaron Marcuse-Kubitza bin/my2pg: support $sql_ascii mode, where varbi...
  config 7801 over 11 years Aaron Marcuse-Kubitza root Makefile: VegBIEN DB: mk_db: Added command...
  exports 8798 about 11 years Aaron Marcuse-Kubitza exports/: svn:ignore *.csv
  inputs 9156 about 11 years Aaron Marcuse-Kubitza removed no longer used inputs/GBIF/MySQL_export...
  lib 9321 about 11 years Aaron Marcuse-Kubitza lib/sh/util.sh: `set -o`: added pipefail option...
  mappings 8235 over 11 years Aaron Marcuse-Kubitza mappings/VegCore.htm: Renamed salvias_plots tab...
  planning 8457 about 11 years Aaron Marcuse-Kubitza Moved validation/ under planning/workflow/
  schemas 9074 about 11 years Aaron Marcuse-Kubitza *{.sh,run}: removed extra space between functio...
  web 9322 about 11 years Aaron Marcuse-Kubitza web/links/index.htm: updated to Firefox bookmarks
.htaccess 326 Bytes 8771 about 11 years Aaron Marcuse-Kubitza /.htaccess: use canonical URL without symlinks
Makefile 12.6 KB 8844 about 11 years Aaron Marcuse-Kubitza bugfix: /Makefile: moved schemas/install from i...
README.TXT 21 KB 8945 about 11 years Aaron Marcuse-Kubitza /README.TXT: Maintenance: to synchronize vegbie...
fix_perms 97 Bytes 7560 over 11 years Aaron Marcuse-Kubitza Added root fix_perms
map 1001 Bytes 6949 over 11 years Aaron Marcuse-Kubitza vegbien_dest: Changed default $prefix to "", so...
new_terms.csv 38.1 KB 7222 over 11 years Aaron Marcuse-Kubitza new_terms.csv: Regenerated
run 450 Bytes 9074 about 11 years Aaron Marcuse-Kubitza *{.sh,run}: removed extra space between functio...
unmapped_terms.csv 13.1 KB 7201 over 11 years Aaron Marcuse-Kubitza **/new_terms.csv, **/unmapped_terms.csv: Regene...

Latest revisions

# Date Author Comment
9322 05/13/2013 04:35 AM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks

9321 05/13/2013 04:24 AM Aaron Marcuse-Kubitza

lib/sh/util.sh: `set -o`: added pipefail option, to ensure that exit statuses (esp. for errexit) also work with pipelines (a|b)

9320 05/13/2013 04:13 AM Aaron Marcuse-Kubitza

lib/sh/util.sh: use new log+ with a numeric arg instead of multiple calls to log++

9319 05/13/2013 04:06 AM Aaron Marcuse-Kubitza

lib/sh/util.sh: use new log+ with a numeric arg instead of multiple calls to log++. use the command form of log-- (`log-- echo_func`) to counter the normal log++ performed by echo_func, for cases when the function name is descriptive and should be output at the same log_level as the commands it runs.

9318 05/12/2013 08:33 PM Aaron Marcuse-Kubitza

*{.sh,run}: removed extra space between function name and ()

9317 05/12/2013 08:13 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: echo_func(): take the FUNCNAME as an argument (auto-added in the echo_func alias) instead of getting it from the FUNCNAME array (which would have produced an inaccurate value if another function call (such as log++) intervened between the caller and echo_func())

9316 05/12/2013 08:04 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: echo_func(): display where the function was declared (using new func_loc()) instead of where echo_func() was called from. this is more intuitive when debugging, becaues the line # is where the function starts. it also helps remove the dependency on the FUNCNAME/BASH_* arrays, which would produce an inaccurate value if another function call (such as log++) intervened between the caller and echo_func().

9315 05/12/2013 07:57 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: added func_loc(), which gets where a function was declared in the format file:line, and helper alias set_func_loc

9314 05/12/2013 07:09 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: str2varname(): use bash's internal ${var//glob/repl} syntax, which supports character classes ([a-z], etc.), instead of sed (which is slower because it's an external command and uses regexps)

9313 05/12/2013 07:00 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: added support for caching realpath() using the new shell-variable-based caching. this can be enabled via $realpath_cache and defaults to off because it's currently slower than without. note that the cache needs to be cleared in cd() because relative paths will become invalid.

View all revisions | View revisions

Also available in: Atom