Getting only group ids from wurfl

 grep "<group" wurfl.xml |sed 's/<group id=\"\([^\"]*\)\">/\1/' |sort|uniq

Notes:

sed 's/<group id=\"\([^\"]*\)\">/\1/'

s/ ==> substitute

\( ==> brackets should be escaped


Comments

Popular Posts