-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Trent W. Buck wrote:
> Micah Cowan <[EMAIL PROTECTED]> writes:

>> screen sh -c "vim `find . -name '*.c' -o -name '*.cpp'`"
>> title vim
> 
> FWIW, sh -c 'vim find . -name \*.c -o -name \*.cpp -exec vim {} +' would
> be better, if your system supports POSIX 2003's variadic -exec {} +.
> (Failing that, xargs.)

Both are good points. Though I think xargs will only really buy you
something if you use -0, together with find's -print0?

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
GNU Maintainer: wget, screen, teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk62ZkACgkQ7M8hyUobTrFXfgCfZixLiKgrOgElWC3ILO4HuSkc
GegAn2ATN/m7CTosqKFS9e+S8qgGKRS4
=8EMl
-----END PGP SIGNATURE-----


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to