4 Commits
v0.2 ... master

Author SHA1 Message Date
2f62b8a9b1 Updated README file
Specified concrete conifg files to put into home directory
2016-08-19 23:51:57 +03:00
56834cc443 MIT Licence attached #6 2015-07-04 16:23:31 +03:00
3325805387 Merge pull request #4 from jpducassou/master
Improved regex for numeric values
2014-05-29 12:28:49 +04:00
b8c70820ee Improved regex for numeric values 2014-05-28 23:17:56 -03:00
3 changed files with 27 additions and 2 deletions

2
.grcat
View File

@ -15,7 +15,7 @@ colours=white
-
#numeric
regexp=\s[\d\.]+(\s|.$)
regexp=\s[\d\.]+\s*($|(?=\|))
colours=yellow
-

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2015 Nitso [https://github.com/nitso]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -5,7 +5,7 @@ Sample config files showing how to colorize linux console mysql client using grc
How to use it
-------------
1. Install grc (for debian systems: `apt-get install grc`)
2. Copy both config files into your home directory
2. Copy both config files into your home directory: [.grcat](./.grcat) and [.my.cnf](./.my.cnf)
3. Run mysql client `mysql -u <user> -p -h <hostname>`
4. Enjoy!
@ -28,3 +28,7 @@ You can also use `less` in pager to have some features like scrolling, search, l
`pager = grcat ~/.grcat | less -RSFXin`
Just type `man less` to read about less parameters.
LICENSE
-------
Project distributes with standard MIT license