#!/bin/bash

awk -v RS='("[^"]*")' '{gsub(/\n/, "\\n", RT); ORS=RT} 1'