in reply to Combining multiple lines based on the given condition

Hi anony,
Welcome to the Monastery.

Could anyone help me to write a command which displays as follows..
How would you solve this yourself? Please check the following: How do I post a question effectively?.
Ofcourse we are ready to help, but you must show some effort on your part.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
  • Comment on Re: Combining multiple lines based on the given condition