csvtool does not call exported bash function
Bug #1177172 reported by
zasran
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ocaml-csv (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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.
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.