I am writing a shell script using sed I need to figure out how I can store the output of grep florida roam.db | sed -e "s/^.*\? //g" to a variable. roam.db has entries like, one per line. florida: 555-1212 Any help would be greatly appreciated.