Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- declare -Ax QUERY
- function query {
- if [ -z "${QUERY["$*"]}" ]; then
- IFS= read -rd '' QUERY["$*"] < <("$@")
- fi
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement