Potresti usare 'n,n d' per rimuovere alcune righe. Immagino che nel tuo caso tu voglia avere la tabella in questione, ma non vuoi i dati?
Modifica il comando grep per includere "Dumping data for table":
grep -n 'Table structure\|Dumping data for table' dump.sql 19:-- Table structure for table `t1` 37:-- Dumping data for table `t1` 47:-- Table structure for table `t2` 66:-- Dumping data for table `t2` 76:-- Table structure for table `t3` 96:-- Dumping data for table `t3`
Ora, se non vuoi i dati per t2, puoi usare:
sed '66,75 d' dump.sql > cleandump.sql