1 2 3 4 5 6 7 8 9
#!/bin/sh read s while [ ! "$s" = "" ] do grep "path" "$s" | awk '{ print $3; }' read s done