Skip to content

Commit 10f1001

Browse files
committed
Remove pushqueue for bash 3 compatibility.
1 parent 2af2351 commit 10f1001

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

MasterPassword/C/bashlib

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -465,27 +465,6 @@ readwhile() {
465465

466466

467467

468-
# ___________________________________________________________________________
469-
# |__ pushqueue ______________________________________________________________|
470-
#
471-
# pushqueue element ...
472-
#
473-
# Pushes the given arguments as elements onto the queue.
474-
#
475-
pushqueue() {
476-
[[ $_queue ]] || {
477-
coproc _queue {
478-
while IFS= read -r -d ''; do
479-
printf '%s\0' "$REPLY"
480-
done
481-
}
482-
}
483-
484-
printf '%s\0' "$@" >&"${_queue[1]}"
485-
} # _____________________________________________________________________
486-
487-
488-
489468
# __________________________________________________________________________
490469
# |__ popqueue ______________________________________________________________|
491470
#

0 commit comments

Comments
 (0)