I have file Blackberry jad file:
RIM-COD-URL-12: HelloWorld-12.cod RIM-COD-Size: 68020 RIM-MIDlet-Icon-2-1: ____HOVER_ICON_res/icon/blackberry/icon-68.png,fo
Try doing this :
awk '/^RIM-COD/' file.txt
Or
grep "^RIM-COD" file.txt
sed -n '/^RIM-COD/p' file.txt
Use sed -n and only print lines that match RIM-COD.
sed -n
sed -n -e '/^RIM-COD-/p' yourfile.txt