When I run this command
user@ubuntu:~$ ./2input1output Jojo Ar Dublin
it gives me this output
Your First Name: Jojo
Your Last Name : Ar
Your Hometown : Dublin
Thank you, Jojo Ar From Dublin,
Welcome to Stackoverflow
Now I need to display the fourth and fifth lines from that output and then save it into a variable. I have tried
user@ubuntu:~$ (sed -n 4,5p ./2input1output)
but it gave me this output
echo"Thank you, $1 $2 From $3,
Welcome to stackoverflow"