Hmm... It seems like removing optional trailing newlines early ought to be more general and
robust. After all, perl has had chomp() for what, a decade or more?
Posted May 8, 2008 16:37 UTC (Thu) by bronson (subscriber, #4806)
[Link]
As of this year, I think chop is 20 years old (+/- 1 year). So this is what the future looks
like... not very impressive. I thought we'd all be using CORBA-connected dataflow languages
by now!
The last things through the 2.6.26 merge window
Posted May 8, 2008 16:47 UTC (Thu) by jzbiciak (✭ supporter ✭, #5246)
[Link]
Well, there's chop() and there's chomp(). Methinks chomp() is more appropriate to handle
optional newlines. :-)