On 3 July 2010 10:07, Jozsi Avadkan <jozsi.avadkan(a)gmail.com> wrote:
input:
http://pastebin.com/raw.php?i=MqPXZwc3
output:
http://pastebin.com/raw.php?i=8QCkp4yv
it will be a long day.. :D
could someone please help with it?
i have to make a "one liner" that get's the input, and gives the
mentioned output.
Can I ask "why" you need to do this before I provide the answer, which
took me about 5 minutes to write in bash script.
I only ask because this seems to me like some kind of elementary
homework assignment on bash scripting and I don't want to be involved
in doing someone's homework for them.
--
Sam