Backstory:
My program SSH's into a remote server and queries wordpress mysql database table for a single value:
mysql
-u boat
-e "select term_id from boat.wp_terms where name = \"programming\" LIMIT 1;"
--password='programming'
--disable-column-names
Which returns:
+----+
| 15 |
+----+
Rather than having to write that extra bit of code parsing out the
+----+
| |
+----+
Is there an argument I can just add to my query so it simply returns:
15
?
Ultimately I will need to set a script $variable to the value returned.