-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ulrich Mueller wrote: >>>>>> On Thu, 19 Feb 2009, Brian Harring wrote: > >>> - "docompress" (without option or with option "-a"): add paths >>> (directories or files) to the inclusion list >>> - "docompress -x": add paths to the exclusion list > >> Globbing support? > > No, I would say. The other do* commands don't have it, and > "docompress -x foo*" will work anyway since the argument is expanded > before calling the function.
Keep in mind that using a glob that way is going to mean that docompress has to join each path with the current directory and then strip $D from the left side. Doing it that way complicates the implementation details a bit, and it's not quite as flexible as regular expression support would be. With regular expression support you could even control which file extensions are compressed or not. - -- Thanks, Zac -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEARECAAYFAkmgibEACgkQ/ejvha5XGaO3IwCfW+qTR7yMYo1D7XYk6QnUsM+s 4hYAoL4efSmN/xxZog1RGLuWtIqaN/h3 =YWcZ -----END PGP SIGNATURE-----