Add missing function
This commit is contained in:
parent
d83aacfb3f
commit
0207182eb9
1 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,12 @@ trim() {
|
||||||
set +f
|
set +f
|
||||||
}
|
}
|
||||||
|
|
||||||
|
trim_quotes() {
|
||||||
|
trim_output="${1//\'}"
|
||||||
|
trim_output="${trim_output//\"}"
|
||||||
|
printf "%s" "$trim_output"
|
||||||
|
}
|
||||||
|
|
||||||
get_ppid() {
|
get_ppid() {
|
||||||
# Get parent process ID of PID.
|
# Get parent process ID of PID.
|
||||||
case "$os" in
|
case "$os" in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue