Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
There's more than one way to do things
 
PerlMonks  

Re: Code Misses a Replacement

by dbwiz (Curate)
on Jul 07, 2005 at 15:45 UTC ( [id://473209]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 16: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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://473209]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.