Download this file
1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/bash awk 'BEGIN{ sentence="" } { if (NF==0) { print sentence; sentence=""; } else if (sentence!="") sentence=sprintf("%s %s", sentence, $2); else sentence=$2 }'