How to get a one row select into bash variables named for each column in the row

posted Nov 11, 2014, 2:34 PM by Sachchida Ojha
psql -X --field-separator ' ' -At -d sachi -f sachi.sql|while read -r f1 f2 f3 f4 f5 f6; do echo "$f3"; done

The gadget spec URL could not be found
Comments