$ scala TakeLinks.scala
old version
======================
Test URL1
https://some.url.com?blah=MORE-BLAH
Test URL2
https://another.url.com?dr=who
Test URL3
https://third.url.com?name=dontknow
new version
======================
Test URL1
https://some.url.com?blah=MORE-BLAH
Test URL2
https://another.url.com?dr=who
Test URL3
https://third.url.com?name=dontknow
근데 @daewon님 코드가 더 맘에 드네요. :)