bash read file line split string AND PIPE code example Example: bash split variable by delimiter IFS='|' read -r -a arrayName <<< "$variable"