Example:
bash

wd
/home/balamv
bash:more test.txt
hello
hello-ssl
welcome
welcome-ssl
hi
bye
bye-ssl
seeyou
I want to get all the lines which contain ssl and also the one does not contain ssl.
Output should be like this.
hello-ssl
welcome-ssl
hi
bye-ssl
seeyou
Note if a line [ex. hello] has the ssl line, then get only ssl.
How to achieve this?