Skip to content
Advertisement

Tag: solaris

Solaris equivalent of -o option of grep on Linux

I run the following on Sun Solaris — it runs OK on Linux but not on Sun Solaris: My question is which option on Sun Solaris does the same task as the option grep -o (to match string capture) on Linux? Answer Solaris grep doesn’t seem to have such an option. If you just need this to run on some Solaris

Advertisement