how to only convert returns in a DAT?

I have a text DAT looking like:

line 1\nline2\n
line3\n
$var\n

I only want to evaluate the \n but NOT the other backslash characters, so I get:
line1
line2

line3

$var

anyway to do that?
tx dani

you’ll need a double \ in front of $S, i.e. \$var, to process the \ in front of $var as a character.

Selina