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

On 6/19/2014 11:09 AM, Alysson Gonçalves de Azevedo wrote:
> Hi all. Just like Beal shared with us the # trick, today i'll share
> how i can commit all except one file using negative patterns 
> <http://www.cyberciti.biz/faq/linux-bash-delete-all-files-in-directory-except-few/>,
>
> 
something like !(file).

Here's more on this feature: http://en.chys.info/2009/02/extglob/

You've demonstrated the utility of !(file), but I was unsure of the
other extglob modes such as @().  The link explains.

And yes, you need to do "shopt -s extglob" to turn this feature on.

- -- 
Andy Goth | <andrew.m.goth/at/gmail/dot/com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJToysSAAoJELtYwrrr47Y4nbIH/AlXbFBhk12AMcbgqvidd4K8
tU6sMbU+0XhQfdhjwnmjpZKWvHSSvT8qCVCd+fDAvrWm3g3tL7PFMSbXQpCEypZD
PVKWlG3G7T/wA1zWsJ/kuRWR4+3BbP5mjDwVqtrSnARAzDLMZX+U0wO/XlkMMgUa
kpYpGIfbufq2UikDNVqDDjDaJyL4Kn2qyHTWsrD5zljwQkjxXRSqjDQKGV+jkTgL
UVkT++wTp+NCgW194eDrEDy55437cUQqPEbQ0K9G6rCRDN9rM+IQCJZFkc5uvxvM
Qr1txwJHgI94kb1kDR0F32tOAWZkFr7etiAqLoz6Y6laWFtUp9Nk8Zi5faFKNIs=
=kcQZ
-----END PGP SIGNATURE-----
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to