$ cat << EOF > staff.csv
US Gavo 35
US Jane 21
US Bill 25
China Jimmy 42
EOF
$ awk '{print > $1".csv"}' staff.csv
$ ls
China.csv staff.csv US.csv
$ cat China.csv
China Jimmy 42
$ cat US.csv
US Gavo 35
US Jane 21
US Bill 25
$ cat << EOF > text
I'm Ready.
But it's too late.
EOF
$ cat text | grep "Ready"
I'm Ready.