Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: How can I make it to a one liner

by moritz (Cardinal)
on Oct 08, 2007 at 07:50 UTC ( [id://643418]=note: print w/replies, xml ) Need Help??


in reply to Re: How can I make it to a one liner
in thread How can I make it to a one liner

There are some corner cases where the different solutions disagree.

The test file:

a,b,c,d,e f,g,e,h i,j, l,m n ,

greatshots' output:

a,b,c d,e,f,g,e h,i,j,l,m,n,
(no newline at the end)

My output:

a,b,c d,e,f g,e,h i,j,l m,n,
(no trailing newline)

ikegami's output:

a,b,c d,e f,g e,h i,j l,m n ,

It would be interesting to know what the desired output is (and if it matters at all)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-25 14:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found