http://qs1969.pair.com?node_id=515759


in reply to Re: What one-liners do people actually use?
in thread What one-liners do people actually use?

Learn the -0 switch. :-)
perl -00ne'print if /^objectClass: dxmADsUser/i' file1 > file2