Jerry D. Hedden

Results 5 issues of Jerry D. Hedden

The `run` function currently only works a single word, so trying to use command line argument with a command doesn't work (e.g., 'chmod 755'). The version adds that capability: ```...

The current `join` function fails if a line of input only has one column (i.e., not an array). The update below allow it to function in that case: ``` @register("join")...

`sort_by` currently only supports ascending sorts. The following allows descending sorts: _For README.md_: ``` ### Usage of `sort_by` The `sort_by` command also takes a [function argument](#available-function-arguments). It calls the function...

The current `format` function only support single-valued inputs. The below permits it to take arrays as inputs: For _ft/ft/functions.py_: ``` @register("format") @typed(None, T_STRING) def format(format_str, inp): try: if type(inp) ==...

``` > echo -e '1\t2' | filter -c1 odd Traceback (most recent call last): File "/home/jdhedden/bin/filter", line 6, in Filter().run() File "/mnt/data/Computer/Linux/shell-functools/ft/ft/command.py", line 101, in run self.handle_input(value) File "/mnt/data/Computer/Linux/shell-functools/ft/ft/commands/filter.py", line...