6

bash: need to have egrep to return a text string if the search pattern has NOT been found

view full story
linux-howto

http://www.unix.com – Hello all, after spending hours of searching the web I decided to create an account here. This is my first post and I hope one of the experts can help. I need to resolve a grep / sed / xargs / awk problem. My input file is just like this: ---------------------------------- root@Ubuntu-12:~# cat myfile article1 data.........x colour....blue number.........15 name...smith month...................july article2 colour....yellow number.........423489 something....x month...................january article3 colour....orange number.........7 name....jason month....... (HowTos)