http://qs1969.pair.com?node_id=473209


in reply to Code Misses a Replacement

I agree with ww. The tab is there.

Try this:

s/,/<\t>/g;

Then, you will see the tab even if your settings prevent it.

On a side note, I would do the whole affair with a one-liner:

perl -pe 's/,/\t/g' < /c/mysql.out > /c/mysql.dshield

Replies are listed 'Best First'.
Re^2: Code Misses a Replacement
by monger (Friar) on Jul 07, 2005 at 20:47 UTC
    dbwiz, Thanks for the bracket tip. That got it. And I'll likely use the one liner for an eventual multi-lang batch job.

    monger

    Monger +++++++++++++++++++++++++ Munging Perl on the side