[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Package of non-development scripts?



On Tue, Jul 17, 2001 at 08:23:32PM +1000, Rebecca Dridan wrote:

> On Tue, Jul 17, 2001 at 05:39:37AM -0400, Matt Zimmerman wrote:
> <SNIP>
> > #!/bin/sh
> > 
> > grep-status -nsInstalled-size,Package -F Status ' installed' \
> > | perl -p00l12 -e 's/\n/ /' \
> > | sort -rn
> >
> 
> To satisfy my curiousity, what does the -p00l12 option to perl do.  I couldn't
> find the explanation in my admittedly quick skim of the perl docs.

-p	while/print loop
-00	input record separator = paragraph break
-l12	automatic line ending processing, output record separator = octal 12 (LF)

-- 
 - mdz



Reply to: