perl -00ne'print if /^objectClass: dxmADsUser/i' file1 > file2 [download]
In reply to Re^2: What one-liners do people actually use? by Anonymous Monk in thread What one-liners do people actually use? by TomDLux