Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# run this script with fish
printf 'A B\tC D\t\tE \tF\t G \t \t H I\n' \
| while read A B C D E F G REST
printf 'A="%s"\n' "$A"
printf 'B="%s"\n' "$B"
printf 'C="%s"\n' "$C"
printf 'D="%s"\n' "$D"
printf 'E="%s"\n' "$E"
printf 'F="%s"\n' "$F"
printf 'G="%s"\n' "$G"
printf 'REST="%s"\n' "$REST"
end
# eof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment