Bash | script | drop all quotes from string
function drop_bad_chars { echo “$@” | sed “s|[\’]||g” | sed ‘s|[\”]||g’ }
function drop_bad_chars { echo “$@” | sed “s|[\’]||g” | sed ‘s|[\”]||g’ }
OIFS=$IFS;IFS=$’\n’;ARRAY=($(echo “$LINE” | awk ‘{ for (i = 0; ++i <= NF;) printf “%s\n”, $i }’ FPAT='([^,]+)|(“[^”]+”)’));IFS=$OIFS