[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help to use screen command
From: |
Micah Cowan |
Subject: |
Re: help to use screen command |
Date: |
Sat, 06 Dec 2008 11:59:22 -0800 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081125) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Trent W. Buck wrote:
> Micah Cowan <address@hidden> 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-----