Public bug reported:

csvtool man page claims that csvtool call would call exported bash
function if it was exported using export -f.

However it does not work (assumes function hello that just echos
'hello'):

# not exported yet
$ bash -c hello
bash: yo: command not found
$ export -f hello
# verify export worked
$ bash -c hello
hello
# now try to use csvtool as described in the man page
$ csvtool call hello /some/file
sh: 1: hello: not found
hello: terminated with exit code 127

Per manual page the above should work.

** Affects: ocaml-csv (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1177172

Title:
  csvtool does not call exported bash function

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocaml-csv/+bug/1177172/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to