Re: [OT] Choosing a scripting language.
On Tue, Oct 28, 2003 at 04:57:34PM +0100, Marco Colombo wrote:[color=blue]
> processing. Try and do the same in any other language, with less
> keystrokes:
>
> find / -print0 | perl -ln0e 'print if -p'[/color]
I would imagine:
find / -type p
is shorter, but that probably wasn't your point :)
--
Martijn van Oosterhout <kleptog@svana. org> http://svana.org/kleptog/[color=blue]
> "All that is needed for the forces of evil to triumph is for enough good
> men to do nothing." - Edmond Burke
> "The penalty good people pay for not being interested in politics is to be
> governed by people worse than themselves." - Plato[/color]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE/ov1iY5Twig3Ge+Y RAmNDAKCd5ZYAYl fRoByoKN5j4xSpo ihfPQCgsmw7
O1SrGnw0yCOvxr5 2Q/pG9AM=
=ZIbS
-----END PGP SIGNATURE-----
On Tue, Oct 28, 2003 at 04:57:34PM +0100, Marco Colombo wrote:[color=blue]
> processing. Try and do the same in any other language, with less
> keystrokes:
>
> find / -print0 | perl -ln0e 'print if -p'[/color]
I would imagine:
find / -type p
is shorter, but that probably wasn't your point :)
--
Martijn van Oosterhout <kleptog@svana. org> http://svana.org/kleptog/[color=blue]
> "All that is needed for the forces of evil to triumph is for enough good
> men to do nothing." - Edmond Burke
> "The penalty good people pay for not being interested in politics is to be
> governed by people worse than themselves." - Plato[/color]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE/ov1iY5Twig3Ge+Y RAmNDAKCd5ZYAYl fRoByoKN5j4xSpo ihfPQCgsmw7
O1SrGnw0yCOvxr5 2Q/pG9AM=
=ZIbS
-----END PGP SIGNATURE-----
Comment