On 3 July 2010 10:07, Jozsi Avadkan <jozsi.avadkan@xxxxxxxxx> 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 -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines