0
how to match string , and display the two line under the string
for example ( I want to match the "manufacture" string and display the two lines after
cat ima.conf
# the manufacturer or driver author.
com.sun.ima /usr/lib/libsun_ima.so.1
com.sun.ima64 /usr/lib/64/libsun_ima.so.1
# Format:
#
# <library name> <library pathname>
#
so I will get only the following lines:
com.sun.ima /usr/lib/libsun_ima.so.1
com.sun.ima64 /usr/lib/64/libsun_ima.so.1
1
Maybe like your previous post on unix.stackexchange ? http://unix.stackexchange.com/questions/52199/solaris-10-display-2-lines-after-match-by-grep/52200#52200
– Gilles Quenot – 2012-10-18T15:01:23.027