| -----Ursprüngliche Nachricht-----
| Von: Annick Collet [mailto:Annick.Collet@eumetsat.int]
| Gesendet: Dienstag, 22. November 2005 11:25
| An: users@subversion.tigris.org
| Betreff: pre-commit hook
|
| Dear all,
|
| I'm trying a pre-commit script to enforce a log message like "[1234]"
| ( 4 digits numbers in brackets")
| I encountered problem with my grep command which does not actually what
| I want
| ..
| SVNLOOK log -t "$TXN" "$REPOS" | grep "[0-9999]" > dev/null || exit 1
What about: grep '\[[0-9][0-9][0-9][0-9]\]'
or use egrep to simplify further...
| ..
| Any idea ?
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
| For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 22 11:52:59 2005