Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Code Misses a Replacement

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


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


Comment on Re: Code Misses a Replacement
Select or Download Code
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://473209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2014-12-28 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (179 votes), past polls