Hello, I'm trying to read a socket with everything into just one %var

But it outputs line 1 \n line 2 \n line 3

I want it like this: line 1 | line 2 | line 3

I tried this:

Code:
sockread -n %data
echo -a $target $replace(%data,$crlf,|)


No success. frown Any ideas?


__________________________
Curiosity killed the cat.