Skip to main content
6 events
when toggle format what by license comment
Oct 21, 2024 at 21:27 comment added Stephen Kitt I didn’t downvote.
Oct 21, 2024 at 20:18 history edited Christian Bongiorno CC BY-SA 4.0
much more explanation
Oct 21, 2024 at 20:09 comment added Christian Bongiorno There is no exact equivalent. You have to literally re-evaluate the function definition with every invocation. And, in fact, this is the hack behind the scenes bash is doing. Thanks for the downvote.
Oct 20, 2024 at 13:52 comment added Stephen Kitt That doesn’t answer the question — the OP wants the equivalent of export -f hello; bash -c 'hello 1 2 3' without having to manually export and re-import functions.
Oct 18, 2024 at 16:33 review Low quality posts
Oct 21, 2024 at 20:24
Oct 18, 2024 at 16:13 history answered Christian Bongiorno CC BY-SA 4.0