Re: Break the 65 chars :-)
[email protected] (Ton Hospel)
| Newsgroups | gmane.comp.lang.perl.fun |
|---|---|
| Organization | lunix confusion services |
| Message-ID | <[email protected]> |
In article <[email protected]>, "Allen, Greg" <[email protected]> writes: > The output from the -l0[pn] solutions includes C-@ characters (pipe through > cat -v to see...): > > admins:^@ root, administrator > ^@users:^@ me > ^@ > > ugh! > > A sub-optimal fix: > > -p0 s/(.*):(.*)/$_{"$2:"}.=" $1,"/ge}for(%_){s/,$/ > / -p /:(.+)/;$a{"$1:"}.=" $`,"}for(%a){s/,$/ /