| 1 cline |
1 cline |
| 2 _________________________________________ |
2 _________________________________________ |
| 3 Copyright (C) 2013 Mike Becker |
3 Copyright (C) 2013 Mike Becker |
| 4 |
4 |
| 5 Contents: |
5 Contents: |
| 6 1) About ................................................................... 11 |
6 1) About ................................................................... 13 |
| 7 2) Contact Information ..................................................... 23 |
7 2) Build instructions ...................................................... 25 |
| 8 3) License ................................................................. 29 |
8 3) Usage example ........................................................... 41 |
| |
9 4) Contact Information ..................................................... 50 |
| |
10 5) License ................................................................. 56 |
| 9 |
11 |
| 10 |
12 |
| 11 1) About ______________________________________________________________________ |
13 1) About ______________________________________________________________________ |
| 12 |
14 |
| 13 cline is a command line tool that counts code lines in your project folder. It |
15 cline is a command line tool that counts code lines in your project folder. It |
| 18 You may configure the restrictiveness of this algorithm with command line |
20 You may configure the restrictiveness of this algorithm with command line |
| 19 options. |
21 options. |
| 20 |
22 |
| 21 Type cline --help for further information. |
23 Type cline --help for further information. |
| 22 |
24 |
| 23 2) Contact Information ________________________________________________________ |
25 2) Build instructions _________________________________________________________ |
| |
26 |
| |
27 To build cline with gcc navigate to the root directory of the project and type: |
| |
28 make |
| |
29 |
| |
30 To rebuild cline type: |
| |
31 make clean all |
| |
32 |
| |
33 To install cline type (as root): |
| |
34 make install |
| |
35 |
| |
36 If you build cline with mingw under Windows, you need to type: |
| |
37 make CONF=mingw |
| |
38 or |
| |
39 make CONF=mingw clean all |
| |
40 |
| |
41 3) Example usage ______________________________________________________________ |
| |
42 |
| |
43 You can test cline right away with the cline project files. Just type: |
| |
44 cline -rms .c,.h --exclude-cstyle-comments |
| |
45 |
| |
46 This will find any .c or .h file recursively in the cline project folder and |
| |
47 won't display other files (-m option). It will also skip comments when counting |
| |
48 lines. |
| |
49 |
| |
50 4) Contact Information ________________________________________________________ |
| 24 |
51 |
| 25 You can contact us by either one of the following mail addresses: |
52 You can contact us by either one of the following mail addresses: |
| 26 universe@uap-core.de - Direct developer contact |
53 universe@uap-core.de - Direct developer contact |
| 27 info@uap-core.de - Generic mail address |
54 info@uap-core.de - Generic mail address |
| 28 |
55 |
| 29 3) License ____________________________________________________________________ |
56 5) License ____________________________________________________________________ |
| 30 |
57 |
| 31 Copyright 2013 Mike Becker. All rights reserved. |
58 Copyright 2013 Mike Becker. All rights reserved. |
| 32 |
59 |
| 33 Redistribution and use in source and binary forms, with or without |
60 Redistribution and use in source and binary forms, with or without |
| 34 modification, are permitted provided that the following conditions are met: |
61 modification, are permitted provided that the following conditions are met: |
| 48 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
75 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 49 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
76 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 50 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
77 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 51 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
78 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 52 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
79 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 53 |
80 |