1.0

Document osh.error


Add gendoc to scripts/package, and generated documentation to tarball.

self.usage() message needs to remove epydoc markup (from
command.help). E.g., osh help foo, if foo isn't loadable.

help.py calls __import__. Should use loader to make use of osh search path.

osh gen 6 ^ f 'x: x * 5 + 5' ^ f 'x: (x, x)' ^ sql "select %s, region, owner, region_usage from mm1.map_history where map_version = %s order by region, region_usage, owner" ^ window '*t: t[3] == "A"' ^ out -f maps
ERROR: 
receiver undefined, command: _Out#12{-f: maps}[], input_object: [(5, 15, 'mm1(4/f)', 'A'), (5, 15, 'mm3(4/f)', 'B')], error: I/O operation on closed file

In sql.py, try moving self.send_complete() from _execute_query to receive_complete.


Installation:

- install, installosh: Multi-column output if it doesn't fit in one.


Code cleanup:

- ssh: Use -o BatchMode=yes

- ssh options, e.g. "-o StrictHostKeyChecking=no", should be
controllable from .oshrc.


- sql: insert, etc should return update count

- Compatibility modules? e.g. oshconfig -> config


----------------------------------------------------------------------

asql2:

- Do all regions in parallel

- Optional function arg, providing compareto function for merging
results.

- Optional function arg for remote, doing the same thing. Then, dup
elim can be done in osh:

osh @foo [ asql2 "select sig, sig_scheme, ... from SCHEMA.external_file order by sig, sig_scheme" \
                 "sig, sig_scheme, *x: (sig, sig_scheme)" ] "node, sig, sig_schema, *x: (sig, sig_scheme)"

----------------------------------------------------------------------

osh/archivas installation shouldn't overwrite .oshrc.

----------------------------------------------------------------------

Look at optparse.

----------------------------------------------------------------------

agg:

Need a variation that generates output for each partial result?

----------------------------------------------------------------------

osh binary conflicts with operator shell. Allow for an alternate
executable name. 

----------------------------------------------------------------------

Auto install

----------------------------------------------------------------------

Map support

- conversion between list of (key, value) and map.

----------------------------------------------------------------------

osh gen 'function returning list'? Problem for cli distinguishing function from number.
