help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] Ensuring a bash library is only loaded once


From: Jesse Hathaway
Subject: [Help-bash] Ensuring a bash library is only loaded once
Date: Wed, 18 Jul 2018 09:22:06 -0500

What is the idiomatic or most robust method to ensure a bash library is only
loaded once?

I see some libraries create a dummy function whose existence they check for
before loading, is that the preferred method?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]