This commit is contained in:
parent
9e785b7ce1
commit
1cad82456e
3 changed files with 13 additions and 2 deletions
|
@ -84,12 +84,14 @@ rwx_find_shell() {
|
|||
# │ main │ ifs │
|
||||
# ╰──────┴─────╯
|
||||
|
||||
# set internal field separator to line feed
|
||||
rwx_ifs_set() {
|
||||
_RWX_IFS="${IFS}"
|
||||
IFS="
|
||||
"
|
||||
}
|
||||
|
||||
# unset internal field separator
|
||||
rwx_ifs_unset() {
|
||||
IFS="${_RWX_IFS}"
|
||||
unset RWX_IFS
|
||||
|
@ -99,6 +101,7 @@ rwx_ifs_unset() {
|
|||
# │ main │ source │
|
||||
# ╰──────┴────────╯
|
||||
|
||||
# source code from file path
|
||||
rwx_source() {
|
||||
local path="${1}"
|
||||
[ -d "${path}" ] ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue